Skip to content
Snippets Groups Projects
Commit d988f3fa authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Retain ANSI background color

parent e865144a
No related branches found
No related tags found
No related merge requests found
......@@ -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{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment