diff options
| author | David Heinemeier Hansson <david@hey.com> | 2026-08-09 00:37:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-09 01:37:57 +0300 |
| commit | 36a8d36a7258e08b40c01bf521b1f4006525f143 (patch) | |
| tree | edaf35204db558c4d6b5a79ab78b6d6e5138c9dc /src/config/model.rs | |
| parent | 3a76fea2d858a7a5ef58615f1cc9aabaa30b80ee (diff) | |
feat: make outer pane borders configurable (#2535)
Diffstat (limited to 'src/config/model.rs')
| -rw-r--r-- | src/config/model.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/model.rs b/src/config/model.rs index 5cbafaec..ba700731 100644 --- a/src/config/model.rs +++ b/src/config/model.rs @@ -838,6 +838,8 @@ pub struct UiConfig { pub prompt_new_workspace_name: bool, /// Draw borders around split panes. Default: true. pub pane_borders: bool, + /// Draw borders along the outside edge of the pane area. Default: true. + pub pane_outer_borders: bool, /// Draw interactive scrollbars beside terminal panes. Default: true. pub pane_scrollbars: bool, /// Keep split panes visually separated instead of sharing divider borders. Default: true. @@ -1052,6 +1054,7 @@ impl Default for UiConfig { prompt_new_tab_name: true, prompt_new_workspace_name: false, pane_borders: true, + pane_outer_borders: true, pane_scrollbars: true, pane_gaps: true, show_agent_labels_on_pane_borders: false, @@ -1304,6 +1307,7 @@ status_indicators = "symbols" fn pane_appearance_defaults_and_parse() { let default_config = Config::default(); assert!(default_config.ui.pane_borders); + assert!(default_config.ui.pane_outer_borders); assert!(default_config.ui.pane_scrollbars); assert!(default_config.ui.pane_gaps); assert!(!default_config.ui.show_agent_labels_on_pane_borders); @@ -1316,6 +1320,7 @@ status_indicators = "symbols" let toml = r#" [ui] pane_borders = false +pane_outer_borders = false pane_scrollbars = false pane_gaps = true show_agent_labels_on_pane_borders = true @@ -1324,6 +1329,7 @@ tab_bar_position = "bottom" "#; let config: Config = toml::from_str(toml).unwrap(); assert!(!config.ui.pane_borders); + assert!(!config.ui.pane_outer_borders); assert!(!config.ui.pane_scrollbars); assert!(config.ui.pane_gaps); assert!(config.ui.show_agent_labels_on_pane_borders); |
