mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-16 20:53:52 -07:00
Fix highlight offsets of multi-line entries
Fix regression from 4811e52a
This commit is contained in:
@@ -278,6 +278,7 @@ func extractColor(str string, state *ansiState, proc func(string, *ansiState) bo
|
||||
|
||||
if code == "\n" {
|
||||
output.WriteRune('\n')
|
||||
runeCount++
|
||||
// Full-background marker
|
||||
if newState.lbg >= 0 {
|
||||
marker := newState
|
||||
|
Reference in New Issue
Block a user