summaryrefslogtreecommitdiff
path: root/docs/text-sizing-protocol.md
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-03-29 06:54:09 +0200
committercashmere <cashmere@autistici.org>2026-03-29 06:54:09 +0200
commite5ee5bb0e498c66b473e7eecc8c31e29f503d85c (patch)
treef4930dd28b4db70b61fef0d712613baced9e7a73 /docs/text-sizing-protocol.md
parent09b88bbf00bf4019ea71a893061d7f8edbf5d39f (diff)
downloadkitty-graphics-e5ee5bb0e498c66b473e7eecc8c31e29f503d85c.tar.gz
feat: heading-aware scroll and buffer-change handling
Fix scroll/buffer-switch behavior for heading overlays: - on-window-change: preserve heading overlay position caches (images clear theirs for re-placement, but headings need old→new comparison to erase multicell blocks properly) - on-buffer-change: erase heading multicell blocks when their buffer becomes hidden, preventing ghost artifacts if the new buffer's content doesn't fully overwrite the heading cells - on-buffer-change: preserve heading caches for visible buffers (same rationale as on-window-change) The existing two-phase refresh already handles scroll correctly: phase 1 detects position changes and erases moved headings, phase 2 re-emits all visible headings. These fixes ensure the cache state is correct for that comparison to work.
Diffstat (limited to 'docs/text-sizing-protocol.md')
0 files changed, 0 insertions, 0 deletions