mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-21 00:30:00 +02:00
Add bold style for border (#4644)
- **PR Description** bold border looks great and makes it easy to notice the color change
This commit is contained in:
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -159,6 +159,8 @@ func (gui *Gui) configureViewProperties() {
|
||||
frameRunes = []rune{'─', '│', '╭', '╮', '╰', '╯'}
|
||||
case "hidden":
|
||||
frameRunes = []rune{' ', ' ', ' ', ' ', ' ', ' '}
|
||||
case "bold":
|
||||
frameRunes = []rune{'━', '┃', '┏', '┓', '┗', '┛'}
|
||||
}
|
||||
|
||||
for _, mapping := range gui.orderedViewNameMappings() {
|
||||
|
@ -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": {
|
||||
|
Reference in New Issue
Block a user