mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-21 00:30:00 +02:00
add bold style for border
This commit is contained in:
@ -248,7 +248,7 @@ gui:
|
|||||||
screenMode: normal
|
screenMode: normal
|
||||||
|
|
||||||
# Window border style.
|
# Window border style.
|
||||||
# One of 'rounded' (default) | 'single' | 'double' | 'hidden'
|
# One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold'
|
||||||
border: rounded
|
border: rounded
|
||||||
|
|
||||||
# If true, show a seriously epic explosion animation when nuking the working tree.
|
# If true, show a seriously epic explosion animation when nuking the working tree.
|
||||||
|
@ -560,7 +560,7 @@ gui:
|
|||||||
screenMode: normal
|
screenMode: normal
|
||||||
|
|
||||||
# Window border style.
|
# Window border style.
|
||||||
# One of 'rounded' (default) | 'single' | 'double' | 'hidden'
|
# One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold'
|
||||||
border: rounded
|
border: rounded
|
||||||
|
|
||||||
# If true, show a seriously epic explosion animation when nuking the working tree.
|
# 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'
|
// One of: 'normal' (default) | 'half' | 'full'
|
||||||
ScreenMode string `yaml:"screenMode" jsonschema:"enum=normal,enum=half,enum=full"`
|
ScreenMode string `yaml:"screenMode" jsonschema:"enum=normal,enum=half,enum=full"`
|
||||||
// Window border style.
|
// Window border style.
|
||||||
// One of 'rounded' (default) | 'single' | 'double' | 'hidden'
|
// One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold'
|
||||||
Border string `yaml:"border" jsonschema:"enum=single,enum=double,enum=rounded,enum=hidden"`
|
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.
|
// If true, show a seriously epic explosion animation when nuking the working tree.
|
||||||
AnimateExplosion bool `yaml:"animateExplosion"`
|
AnimateExplosion bool `yaml:"animateExplosion"`
|
||||||
// Whether to stack UI components on top of each other.
|
// Whether to stack UI components on top of each other.
|
||||||
|
@ -159,6 +159,8 @@ func (gui *Gui) configureViewProperties() {
|
|||||||
frameRunes = []rune{'─', '│', '╭', '╮', '╰', '╯'}
|
frameRunes = []rune{'─', '│', '╭', '╮', '╰', '╯'}
|
||||||
case "hidden":
|
case "hidden":
|
||||||
frameRunes = []rune{' ', ' ', ' ', ' ', ' ', ' '}
|
frameRunes = []rune{' ', ' ', ' ', ' ', ' ', ' '}
|
||||||
|
case "bold":
|
||||||
|
frameRunes = []rune{'━', '┃', '┏', '┓', '┗', '┛'}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, mapping := range gui.orderedViewNameMappings() {
|
for _, mapping := range gui.orderedViewNameMappings() {
|
||||||
|
@ -685,9 +685,10 @@
|
|||||||
"single",
|
"single",
|
||||||
"double",
|
"double",
|
||||||
"rounded",
|
"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"
|
"default": "rounded"
|
||||||
},
|
},
|
||||||
"animateExplosion": {
|
"animateExplosion": {
|
||||||
|
Reference in New Issue
Block a user