Skip to content

terminal/kitty: clear placements on image retransmit - #13723

Merged
mitchellh merged 1 commit into
mainfrom
kittygfx-placements
Aug 10, 2026
Merged

mitchellh merged 1 commit into
mainfrom
kittygfx-placements

Conversation

@mitchellh

Copy link
Copy Markdown
Contributor

Fixes #13719

The Kitty graphics protocol requires retransmitting data for a specific image ID to delete the previous image and all of its placements.

Ghostty instead preserved the placement count and map when replacing image data. Repeated a=T commands therefore added one anonymous placement per frame and retained its tracked pin.

Spec: https://sw.kovidgoyal.net/kitty/graphics-protocol/#display-images-on-screen

Fixes #13719

The Kitty graphics protocol requires retransmitting data for a
specific image ID to delete the previous image and all of its
placements. 

Ghostty instead preserved the placement count and map when replacing image 
data. Repeated `a=T` commands therefore added one anonymous placement per 
frame and retained its tracked pin.

Spec: https://sw.kovidgoyal.net/kitty/graphics-protocol/#display-images-on-screen
@mitchellh mitchellh added this to the 1.4.0 milestone Aug 10, 2026
@mitchellh
mitchellh requested review from a team as code owners August 10, 2026 03:34
@mitchellh
mitchellh merged commit 156bc8c into main Aug 10, 2026
114 checks passed
@mitchellh
mitchellh deleted the kittygfx-placements branch August 10, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant