aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index a1c5afc1..975144b4 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -1,4 +1,6 @@
-use crate::config::{Keybinds, NewTerminalCwdConfig, SoundConfig, ToastConfig, ToastDelivery};
+use crate::config::{
+ Keybinds, NewTerminalCwdConfig, SoundConfig, TabBarPositionConfig, ToastConfig, ToastDelivery,
+};
use crossterm::event::{KeyCode, KeyModifiers};
use ratatui::layout::{Direction, Rect};
use ratatui::style::Color;
@@ -1525,6 +1527,7 @@ pub struct AppState {
pub pane_gaps: bool,
pub show_agent_labels_on_pane_borders: bool,
pub hide_tab_bar_when_single_tab: bool,
+ pub tab_bar_position: TabBarPositionConfig,
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`.
@@ -1899,6 +1902,7 @@ impl AppState {
pane_gaps: false,
show_agent_labels_on_pane_borders: false,
hide_tab_bar_when_single_tab: false,
+ tab_bar_position: TabBarPositionConfig::Top,
pane_history_persistence: false,
reveal_hidden_cursor_for_cjk_ime: false,
cjk_ime_agent_filter_configured: false,