m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 15:23:48 -05:00

Reset full-background property after a new line

This commit is contained in:
Junegunn Choi
2025-06-27 23:21:48 +09:00
parent 19d858f9b6
commit 111266d832
2 changed files with 5 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ func Run(opts *Options) (int, error) {
marker.color.attr = marker.color.attr | tui.FullBg
newOffsets := append(*offsets, marker)
offsets = &newOffsets
// Reset the full-line background color
lineAnsiState.lbg = -1
}
return util.ToChars(stringBytes(trimmed)), offsets
}