Fix highlight offsets of multi-line entries

Fix regression from 4811e52a
This commit is contained in:
Junegunn Choi committed 2025-06-26 20:48:34 +09:00
1 parent b99cb6323f
commit 5ed87ffcb9
3 files changed
+4 -8

No files matched your search

+1
View File
@@ -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