on main help sign in
fix(ui): `highlighter` now modifies the cell directly. (#2171)
c3d4eceAvisek Ray
internal/ui/list/highlight.go+1−1
@@ -126,7 +126,7 @@ func HighlightBuffer(content string, area image.Rectangle, startLine, startCol,
126 }
126 }
127 cell := line.At(x)
127 cell := line.At(x)
128 if cell != nil {
128 if cell != nil {
129− line.Set(x, highlighter(x, y, cell))
129+ highlighter(x, y, cell)
130 }
130 }
131 }
131 }
132 }
132 }