aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorRudolf S. <rud.schmidt@gmail.com>2026-09-07 14:04:54 +0200
committerGitHub <noreply@github.com>2026-09-07 14:04:54 +0200
commit482818130407691154d1635d4029b95d0e730104 (patch)
tree5f72ac0992b43a48a670bd3265fc5a2aeae366c8 /src/app/state.rs
parent4b5e9bda239a0b6903889062d756424578e94691 (diff)
feat: make ui.pane_borders a three-state auto/always/off mode (#3234)
* feat: make ui.pane_borders a three-state auto/always/off mode Legacy booleans keep parsing (true = auto, false = off); "always" frames a lone pane while pane_outer_borders is enabled. * fix: align pane border reload test and documentation --------- Co-authored-by: Rudolf Schmidt <me@rudionrails.com> Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index 3d3700b2..892ec5e9 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -831,7 +831,7 @@ pub struct AppState {
pub sidebar_spaces: crate::config::SpacesSidebarConfig,
pub next_agent_state_change_seq: u64,
pub confirm_close: bool,
- pub pane_borders: bool,
+ pub pane_borders: crate::config::PaneBordersConfig,
pub pane_outer_borders: bool,
pub pane_scrollbars: bool,
pub pane_gaps: bool,
@@ -1058,7 +1058,7 @@ impl AppState {
sidebar_spaces: crate::config::SpacesSidebarConfig::default(),
next_agent_state_change_seq: 0,
confirm_close: true,
- pane_borders: true,
+ pane_borders: crate::config::PaneBordersConfig::Auto,
pane_outer_borders: true,
pane_scrollbars: true,
pane_gaps: false,