From 482818130407691154d1635d4029b95d0e730104 Mon Sep 17 00:00:00 2001 From: "Rudolf S." Date: Mon, 7 Sep 2026 14:04:54 +0200 Subject: 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 Co-authored-by: Jonathan Liebig --- docs/next/CHANGELOG.md | 1 + docs/next/website/src/data/config-reference.json | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/next/CHANGELOG.md b/docs/next/CHANGELOG.md index c94c15e2..1de143d2 100644 --- a/docs/next/CHANGELOG.md +++ b/docs/next/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added - Custom themes can now define separate light and dark color overrides when automatic theme switching is enabled. (#837, thanks @aneym) +- `ui.pane_borders` now accepts `"auto"`, `"always"`, and `"off"`; `"always"` also frames a single pane when `ui.pane_outer_borders` is enabled. Existing boolean values keep working. ### Fixed - Claude Code integration hooks now ignore Cursor CLI's Claude-compatible session events, preventing Cursor sessions from being stored as resumable Claude sessions. (#2832) diff --git a/docs/next/website/src/data/config-reference.json b/docs/next/website/src/data/config-reference.json index ea04a2cc..d35a96b6 100644 --- a/docs/next/website/src/data/config-reference.json +++ b/docs/next/website/src/data/config-reference.json @@ -954,9 +954,14 @@ }, { "key": "ui.pane_borders", - "type": "boolean", - "default": "true", - "description": "Draw borders around split panes." + "type": "enum", + "default": "\"auto\"", + "description": "Draw borders around split panes. auto draws them only for split panes, always also frames a lone pane (only while pane_outer_borders is enabled, since every edge of a lone pane is an outer edge), off disables them. Legacy booleans still parse: true maps to auto and false maps to off.", + "values": [ + "auto", + "always", + "off" + ] }, { "key": "ui.pane_outer_borders", -- cgit v1.2.3