mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-31 04:02:01 -07:00
Retain ANSI background color
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user