From 8525503dba9029d0a5f24990e026d8164f0bf39c Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 5 Apr 2026 03:46:16 +0300 Subject: fix: match ghostty pane default colors to host terminal theme --- src/app/state.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app/state.rs') diff --git a/src/app/state.rs b/src/app/state.rs index 6708ef65..c55b5cd8 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -5,6 +5,7 @@ use ratatui::style::Color; use crate::layout::{PaneInfo, SplitBorder}; use crate::selection::Selection; +use crate::terminal_theme::TerminalTheme; use crate::workspace::Workspace; // --------------------------------------------------------------------------- @@ -595,6 +596,8 @@ pub struct AppState { pub settings: SettingsState, /// Highlight state for the bottom-right global launcher menu. pub global_menu: MenuListState, + /// Resolved host terminal default colors for theming embedded panes. + pub host_terminal_theme: TerminalTheme, } impl AppState { @@ -740,6 +743,7 @@ impl AppState { original_theme: None, }, global_menu: MenuListState::new(0), + host_terminal_theme: TerminalTheme::default(), } } } -- cgit v1.2.3