mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-13 19:25:47 -07:00
Fix the background color of the scrollbar inside the preview window
This commit is contained in:
@@ -1954,7 +1954,7 @@ func (t *Terminal) renderPreviewScrollbar(yoff int, barLength int, barStart int)
|
||||
t.previewer.bar[i] = bar
|
||||
t.pborder.Move(y, x)
|
||||
if i >= yoff+barStart && i < yoff+barStart+barLength {
|
||||
t.pborder.CPrint(tui.ColScrollbar, t.scrollbar)
|
||||
t.pborder.CPrint(tui.ColPreviewScrollbar, t.scrollbar)
|
||||
} else {
|
||||
t.pborder.Print(" ")
|
||||
}
|
||||
|
Reference in New Issue
Block a user