diff --git a/docs/Config.md b/docs/Config.md index b165239c0..96c96a410 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -248,7 +248,7 @@ gui: screenMode: normal # Window border style. - # One of 'rounded' (default) | 'single' | 'double' | 'hidden' + # One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold' border: rounded # If true, show a seriously epic explosion animation when nuking the working tree. diff --git a/pkg/config/app_config_test.go b/pkg/config/app_config_test.go index 1241230d0..c8c7d1d11 100644 --- a/pkg/config/app_config_test.go +++ b/pkg/config/app_config_test.go @@ -560,7 +560,7 @@ gui: screenMode: normal # Window border style. - # One of 'rounded' (default) | 'single' | 'double' | 'hidden' + # One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold' border: rounded # If true, show a seriously epic explosion animation when nuking the working tree. diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index f97bb33ce..8e940b6fa 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -166,8 +166,8 @@ type GuiConfig struct { // One of: 'normal' (default) | 'half' | 'full' ScreenMode string `yaml:"screenMode" jsonschema:"enum=normal,enum=half,enum=full"` // Window border style. - // One of 'rounded' (default) | 'single' | 'double' | 'hidden' - Border string `yaml:"border" jsonschema:"enum=single,enum=double,enum=rounded,enum=hidden"` + // One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold' + Border string `yaml:"border" jsonschema:"enum=single,enum=double,enum=rounded,enum=hidden,enum=bold"` // If true, show a seriously epic explosion animation when nuking the working tree. AnimateExplosion bool `yaml:"animateExplosion"` // Whether to stack UI components on top of each other. diff --git a/pkg/gui/views.go b/pkg/gui/views.go index 6346b6709..b461ea510 100644 --- a/pkg/gui/views.go +++ b/pkg/gui/views.go @@ -159,6 +159,8 @@ func (gui *Gui) configureViewProperties() { frameRunes = []rune{'─', '│', '╭', '╮', '╰', '╯'} case "hidden": frameRunes = []rune{' ', ' ', ' ', ' ', ' ', ' '} + case "bold": + frameRunes = []rune{'━', '┃', '┏', '┓', '┗', '┛'} } for _, mapping := range gui.orderedViewNameMappings() { diff --git a/schema/config.json b/schema/config.json index 5b33dfd01..4e63e6087 100644 --- a/schema/config.json +++ b/schema/config.json @@ -685,9 +685,10 @@ "single", "double", "rounded", - "hidden" + "hidden", + "bold" ], - "description": "Window border style.\nOne of 'rounded' (default) | 'single' | 'double' | 'hidden'", + "description": "Window border style.\nOne of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold'", "default": "rounded" }, "animateExplosion": {