diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-04-05 03:46:16 +0300 |
|---|---|---|
| committer | Can Celik <ogulcancelik@gmail.com> | 2026-04-05 03:46:16 +0300 |
| commit | 8525503dba9029d0a5f24990e026d8164f0bf39c (patch) | |
| tree | 43b902dfab49603c667ae016baa97aee27724073 /src/app/state.rs | |
| parent | a08dfaef2f13873fc85dc9e1357235b8b0703a46 (diff) | |
fix: match ghostty pane default colors to host terminal theme
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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(), } } } |
