summaryrefslogtreecommitdiff
path: root/src/ansi.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-06-26 20:47:57 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-06-26 20:48:34 +0900
commit5ed87ffcb920f8311cfd29dee0575e6c64755314 (patch)
tree5c508ea4b7959cdc6176ce4fb553be9bb813accb /src/ansi.go
parentb99cb6323fef55ceb458528250e3b26149f1b5b5 (diff)
downloadfzf-5ed87ffcb920f8311cfd29dee0575e6c64755314.tar.gz
Fix highlight offsets of multi-line entries
Fix regression from 4811e52a
Diffstat (limited to 'src/ansi.go')
-rw-r--r--src/ansi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ansi.go b/src/ansi.go
index ba4b3d45..1311620d 100644
--- a/src/ansi.go
+++ b/src/ansi.go
@@ -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