From 02fe7d7659e37d9f05eed80af382d1dcdccb6876 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Fri, 31 Jul 2026 18:15:55 +0300 Subject: feat: support bottom tab bar placement (#2118) * feat: support bottom tab bar placement * fix: preserve mouse cleanup under bottom mode bar refs #2117 --- src/app/state.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/app/state.rs') 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, -- cgit v1.2.3