Files
codex/codex-rs/tui/src/pets
Eric Traut 9e51c745e2 Prevent Kitty pet animation flicker in tmux (#64069)
## Why

In tmux, Kitty passthrough deletes can reach the outer terminal before
the pane updates its image placeholders. The fullscreen text redraw
can also clear those placeholders between animation frames.

## What changed

Alternate between two Kitty image IDs for the ambient pet and keep
the displayed image alive while its replacement is drawn. Reserve
both IDs alongside the picker preview so transcript images cannot
reuse them.

Preserve the pet's placeholder cells during fullscreen text redraws
that have a pet image pass, and keep clear-to-end-of-line commands
from erasing skipped cells.

## Testing

Extend regression coverage for image ID rotation and cleanup,
placeholder preservation, and visibility of the fork progress message.

GitOrigin-RevId: 58830b81c0cb18b4d3113e6b7b2ba401ae6aba31
2026-11-26 03:33:06 +00:00
..
…