diff options
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/mod.rs | 2 | ||||
| -rw-r--r-- | src/app/state.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index 05518134..cfcbe07e 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -602,6 +602,7 @@ impl App { pane_borders: config.ui.pane_borders, pane_gaps: config.ui.pane_gaps, show_agent_labels_on_pane_borders: config.ui.show_agent_labels_on_pane_borders, + hide_tab_bar_when_single_tab: config.ui.hide_tab_bar_when_single_tab, pane_history_persistence: config.experimental.pane_history, reveal_hidden_cursor_for_cjk_ime: config.experimental.reveal_hidden_cursor_for_cjk_ime, cjk_ime_agent_filter_configured: !config.experimental.cjk_ime_agents.is_empty(), @@ -1363,6 +1364,7 @@ impl App { self.state.pane_gaps = config.ui.pane_gaps; self.state.show_agent_labels_on_pane_borders = config.ui.show_agent_labels_on_pane_borders; + self.state.hide_tab_bar_when_single_tab = config.ui.hide_tab_bar_when_single_tab; self.state.agent_panel_sort = agent_panel_sort_from_config(config.ui.agent_panel_sort); self.state.agent_panel_scroll = 0; diff --git a/src/app/state.rs b/src/app/state.rs index 694ff252..99ab648b 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1366,6 +1366,7 @@ pub struct AppState { pub pane_borders: bool, pub pane_gaps: bool, pub show_agent_labels_on_pane_borders: bool, + pub hide_tab_bar_when_single_tab: bool, 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`. @@ -1723,6 +1724,7 @@ impl AppState { pane_borders: true, pane_gaps: false, show_agent_labels_on_pane_borders: false, + hide_tab_bar_when_single_tab: false, pane_history_persistence: false, reveal_hidden_cursor_for_cjk_ime: false, cjk_ime_agent_filter_configured: false, |
