sanitize input data (#2467)

* sanitize input data

* fix test

* relax filter on customInfo
This commit is contained in:
valoq authored and GitHub committed 2026-04-08 02:04:30 +02:00
1 parent 779bffb3dc
commit 7a3591c834
6 files changed
+61 -23

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ func (sxs *sixelScreen) printSixel(win *win, screen tcell.Screen, reg *reg) {
break
}
line = sanitizeForDisplay(line)
screen.LockRegion(win.x, y, printLength(line), 1, true)
fmt.Fprintf(&b, "\033[%d;%dH", y+1, win.x+1)
b.WriteString(line)