summaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 14:09:09 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 14:10:12 +0300
commit2a1a8d64de678fa0e9e2e2f097e8520095b11c5a (patch)
treeb101d297725eca00a89824be2c013c7cc2074ac0 /src/app/state.rs
parentf54d8e8c0aee5d3ec9724234d1bcd418bff8ff2f (diff)
feat: hide single-tab tab row
refs #448
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs2
1 files changed, 2 insertions, 0 deletions
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,