fix(ui): `highlighter` now modifies the cell directly. (#2171)

Avisek Ray created

Change summary

internal/ui/list/highlight.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/ui/list/highlight.go 🔗

@@ -126,7 +126,7 @@ func HighlightBuffer(content string, area image.Rectangle, startLine, startCol,
 			}
 			cell := line.At(x)
 			if cell != nil {
-				line.Set(x, highlighter(x, y, cell))
+				highlighter(x, y, cell)
 			}
 		}
 	}