Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/app_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/user_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions pkg/gui/views.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ func (gui *Gui) configureViewProperties() {
frameRunes = []rune{'─', '│', '╭', '╮', '╰', '╯'}
case "hidden":
frameRunes = []rune{' ', ' ', ' ', ' ', ' ', ' '}
case "bold":
frameRunes = []rune{'━', '┃', '┏', '┓', '┗', '┛'}
}

for _, mapping := range gui.orderedViewNameMappings() {
Expand Down
5 changes: 3 additions & 2 deletions schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down