ATC-82 Screen follows the cursor through a repeated character #74
Loading…
Reference in a new issue
No description provided.
Delete branch "ATC-82-repeat-tracking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.romaine.life/wp/ATC-82 (found through https://openproject.romaine.life/wp/TMUX-211)
Fixes a line showing twice on screen, as in the audit-terminal-app window at 2:58 PM. Bubble Tea's renderer writes a run of one character as REP (
CSI n b, "write the last character n more times"). The screen tracks the cursor so it can write a clearing beside an avatar as blanks, but it ignored REP. So it blanked from where the repeat started, 6 cells past the row's end: the row wrapped, the reply's next two lines landed a row lower, and the old line stayed on screen above. at-claude's recording of that window shows exactly those bytes.REP now moves the tracked cursor as writing the character that many times would. Nothing else changes.
Tests:
TestScreenFollowsRepeatedCharacters(a repeat then a clearing beside an avatar, one reaching the row's end, a wide character repeated) fails on main and passes here; the full suite passes.