mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Retain ANSI background color
This commit is contained in:
parent
e865144ace
commit
d988f3fa50
@ -118,7 +118,7 @@ func (item *Item) colorOffsets(color int, bold bool, current bool) []colorOffset
|
||||
} else {
|
||||
ansi := item.colors[curr-1]
|
||||
bg := ansi.color.bg
|
||||
if current {
|
||||
if current && bg == -1 {
|
||||
bg = int(curses.DarkBG)
|
||||
}
|
||||
offsets = append(offsets, colorOffset{
|
||||
|
Loading…
Reference in New Issue
Block a user