m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 06:13:47 -05:00

Add 'gap-line' color for the horizontal line on each gap

Color inheritance: border >> list-border >> gap-line
This commit is contained in:
Junegunn Choi
2025-01-18 13:47:25 +09:00
parent 0a10d14e19
commit c1875af70b
4 changed files with 13 additions and 1 deletions

View File

@@ -957,7 +957,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
// Gap line
if t.gap > 0 && len(*opts.GapLine) > 0 {
t.gapLine, t.gapLineLen = t.ansiLabelPrinter(*opts.GapLine, &tui.ColListBorder, true)
t.gapLine, t.gapLineLen = t.ansiLabelPrinter(*opts.GapLine, &tui.ColGapLine, true)
}
if opts.Ellipsis != nil {