summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-03-29 08:31:03 +0200
committercashmere <cashmere@autistici.org>2026-03-29 08:31:03 +0200
commit11da531e49fca10ac7dab149ac9790d0c5e76bb9 (patch)
tree88c56cfff0cf0ab9aa2f1294770f8dfd0929b053 /tests
parent807a7ae4fa4741733f4c1d05b0c42c723439a0cc (diff)
downloadkitty-graphics-11da531e49fca10ac7dab149ac9790d0c5e76bb9.tar.gz
fix: use ECH erase + pre-erase pattern from mdfried
Replace space-writing erase with ECH escape (\e[NX) which erases characters at the cursor without moving it — more efficient and cleaner terminal state. Changes: - kitty-gfx--erase-heading-at: new low-level function using ECH, disables DECAWM during erase to prevent wrapping artifacts, erases all rows of multicell blocks (not just topmost) - kitty-gfx--erase-heading: now delegates to erase-heading-at - kitty-gfx--place-heading: pre-erases target area before emitting OSC 66, preventing ghost artifacts from partial overwrites Adapted from mdfried's "erase-character dance" pattern which erases the full multicell area using ECH before every OSC 66 emission.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions