aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/model.rs6
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);