Skip to content
Myr

Retain ANSI background color

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e865144 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/item.go+1 added-1 removed
116 unmodified lines
117 offset: Offset{int32(start), int32(idx)}, color: color, bold: bold})118 } else {119 ansi := item.colors[curr-1]120 bg := ansi.color.bg121 if current {121 if current && bg == -1 {122 bg = int(curses.DarkBG)123 }124 offsets = append(offsets, colorOffset{125 offset: Offset{int32(start), int32(idx)},
84 unmodified lines