diff options
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index e460f62b..cbecef00 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1317,6 +1317,12 @@ pub(crate) struct PaneFocusTarget { /// All application state — pure data, no channels or async runtime. /// Testable without PTYs or a tokio runtime. +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum TabBarStatusSegment { + Zoom, + Text(Option<String>), +} + pub struct AppState { pub terminals: std::collections::HashMap<crate::terminal::TerminalId, crate::terminal::TerminalState>, @@ -1432,6 +1438,8 @@ pub struct AppState { pub show_agent_labels_on_pane_borders: bool, pub hide_tab_bar_when_single_tab: bool, pub tab_bar_position: TabBarPositionConfig, + pub tab_bar_right: Vec<TabBarStatusSegment>, + pub tab_bar_right_separator: String, pub pane_history_persistence: bool, /// Expose the focused pane's cursor anchor to the outer terminal even when /// the pane requested `?25l`. See `[experimental] reveal_hidden_cursor_for_cjk_ime`. @@ -1798,6 +1806,8 @@ impl AppState { show_agent_labels_on_pane_borders: false, hide_tab_bar_when_single_tab: false, tab_bar_position: TabBarPositionConfig::Top, + tab_bar_right: Vec::new(), + tab_bar_right_separator: " ".into(), pane_history_persistence: false, reveal_hidden_cursor_for_cjk_ime: false, cjk_ime_agent_filter_configured: false, |
