I wrote that Rex now supports Kitty graphics protocol even for remote servers, including local files (on the remote!).
I described the implementation as intercept the file-based Kitty instructions and rewrite them to remote clients via in-band chunking.
I said this approach has a < 1% IO impact on everything else.
I said the work required changes in libghostty too (that everyone can take advantage of).
In my example, the image file was being loaded from a local file on my Mac Studio.
I have developed Kitty graphics and clipboard protocol support in Ghostty and libghostty, with a focus on broad protocol coverage, compatibility, and making the capabilities available to libghostty consumers. Unicode placeholders also let graphics work inside multiplexers such as tmux, extending my broader effort to make multiplexer design and compatibility work well.
Ghostty now supports the unicode placeholder part of the Kitty graphics protocol, meaning graphics work inside multiplexers such as tmux.
I said Ghostty had supported most of the Kitty graphics protocol for almost a year when I announced Unicode placeholder support.
I was “pretty sure Ghostty is (will be) the only terminal other than Kitty to support this part of the spec.”
I linked to further details about Unicode placeholder support at https://t.co/AWyE6yGV3d.
I shared a devlog about the recently added Kitty graphics protocol support to libghostty.
I kept libghostty to zero runtime dependencies while adding Kitty graphics protocol support.
I described libghostty as secure by default for the protocol.
I showcased the Ghostling implementation in the Kitty graphics protocol devlog.
Ghostty and libghostty have a 100% complete implementation of the Kitty Graphics Protocol, supporting every feature and every option.
I said Ghostty was the first terminal beyond Kitty to implement every feature and option in the Kitty Graphics Protocol.
- The complete Kitty Graphics implementation includes Unicode placeholders, so graphics work in tmux.
- The complete Kitty Graphics implementation includes relative placements, so images can be positioned relative to other images.
- The complete Kitty Graphics implementation includes animation.
- The complete Kitty Graphics implementation includes Scroll region handling, so images scroll properly with terminal scroll regions.
- The complete Kitty Graphics implementation supports All transport mediums: shared memory, temp files, etc.
I said these features don't impact steady-state use (CPU or memory, besides raw code size).
I said libghostty consumers can use the compile-time features flags to disable them completely.
I read the Kitty Graphics specification a hundred times while working toward full protocol coverage.
I read Kitty's source code to validate behaviors, while making Ghostty's implementation markedly different to avoid GPL violation.
I used agents primarily for validation of the Kitty Graphics implementation.
I ran Fable and Sol in a loop for 3 weeks, pausing only when their dedicated subscriptions exhausted limits, to find mismatches among the specification, Kitty's reference implementation, and Ghostty.
I described Ghostty as the most compliant Kitty Graphics implementation (ignoring Kitty itself of course), and said libghostty lets its consumers be perfectly compliant.
Ghostty and libghostty now fully implement the Kitty clipboard protocol to allow apps to read/write non-textual data (like images!).
I said Ghostty was the first to implement the full protocol outside Kitty.
I said Claude Code was probably the biggest program to support this.
I pointed readers to a demo below.
I planned for Kitty clipboard protocol support to be part of Ghostty 1.4.
Kitty clipboard protocol support is available in nightly now.
Kitty clipboard protocol support is available in libghostty now.
I apologized to @jarredsumner, saying, “btw, sorry it took so long.”
Related: terminal apis and capabilities, terminal behavior compatibility, terminal performance engineering