mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-05 23:48:36 +08:00
Fix gutter display in --style=minimal
This commit is contained in:
+3
-1
@@ -3516,7 +3516,9 @@ func applyPreset(opts *Options, preset string) error {
|
|||||||
opts.Preview.border = tui.BorderLine
|
opts.Preview.border = tui.BorderLine
|
||||||
opts.Preview.info = false
|
opts.Preview.info = false
|
||||||
opts.InfoStyle = infoDefault
|
opts.InfoStyle = infoDefault
|
||||||
opts.Theme.Gutter = tui.ColorAttr{Color: -1, Attr: 0}
|
opts.Theme.Gutter = tui.NewColorAttr()
|
||||||
|
space := " "
|
||||||
|
opts.Gutter = &space
|
||||||
empty := ""
|
empty := ""
|
||||||
opts.Separator = &empty
|
opts.Separator = &empty
|
||||||
opts.Scrollbar = &empty
|
opts.Scrollbar = &empty
|
||||||
|
|||||||
Reference in New Issue
Block a user