diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-07-31 18:15:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-31 18:15:55 +0300 |
| commit | 02fe7d7659e37d9f05eed80af382d1dcdccb6876 (patch) | |
| tree | 0ca1ad4e912b36eb3e3294501cc73ac8a0d9466f /src/app/state.rs | |
| parent | b1d14fe984c92ab4a81438ba07c7d94b464d0d3a (diff) | |
feat: support bottom tab bar placement (#2118)
* feat: support bottom tab bar placement
* fix: preserve mouse cleanup under bottom mode bar
refs #2117
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 6 |
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, |
