ATC-83 Place avatars by ID through tmux's image placements #76
Loading…
Reference in a new issue
No description provided.
Delete branch "ATC-83-placed-avatars"
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-83 (for https://openproject.romaine.life/wp/TMUX-211)
PR 2 of 2, held until PR 1 (nelsong6/at-tmux#153) is delivered: on a tmux without placed images, at-claude says once that avatars aren't shown.
at-claude no longer predicts what tmux does with an avatar. Avatars are now tmux image placements by ID (kitty graphics, one ID per row). The Screen places one the view put somewhere new, deletes one it took away, and clears every placement when it takes the alternate screen. Removed: the cursor tracking, the blanks written in place of clearings beside an avatar, the redraw guessing (where the duplicate-line and missing-avatar bugs lived), and the sixel encoder. Image support is now detected by tmux answering a kitty
a=qbefore the device attributes.Tests: the full suite passes, with new tests for placing, moving, replacing, deleting, chunking and the
a=qnotice. Run on a throwaway server with PR 1's tmux build: tmux'sa=qanswer reaches at-claude through ConPTY, and at-claude placed its avatars and deleted the Thinking avatar when the turn ended.