diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-21 14:02:19 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-21 14:03:59 +0300 |
| commit | 4421c0febbb03a1a4264729a70fb7c440a3b9ca8 (patch) | |
| tree | 72d1ade2b453ac1948daa85c50c2b6e3599cc204 /src/app/state.rs | |
| parent | 92a10fc044d42b216317696a4e8e6f70d7cc7a7d (diff) | |
fix: add configurable pane gaps
refs #271
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 55d41358..9e5dbed1 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1019,6 +1019,7 @@ pub(crate) enum DragTarget { path: Vec<bool>, direction: Direction, area: Rect, + grab_offset: u16, }, PaneScrollbar { pane_id: crate::layout::PaneId, @@ -1361,6 +1362,8 @@ pub struct AppState { pub mouse_scroll_lines: usize, pub confirm_close: bool, pub prompt_new_tab_name: bool, + pub pane_borders: bool, + pub pane_gaps: bool, pub show_agent_labels_on_pane_borders: bool, pub pane_history_persistence: bool, /// Expose the focused pane's cursor anchor to the outer terminal even when @@ -1715,6 +1718,8 @@ impl AppState { mouse_scroll_lines: crate::config::DEFAULT_MOUSE_SCROLL_LINES, confirm_close: true, prompt_new_tab_name: true, + pane_borders: true, + pane_gaps: false, show_agent_labels_on_pane_borders: false, pane_history_persistence: false, reveal_hidden_cursor_for_cjk_ime: false, |
