Skip to content

Kitty Image Protocol Support #986

@wez

Description

@wez

This issue is tracking the status of supporting Kitty's image protocol.

Spec at: https://sw.kovidgoyal.net/kitty/graphics-protocol/

  • termwiz: parse APC escapes
  • termwiz: parse baseline Kitty Image protocol APC escapes
  • term: basic placement implementation on top of existing iTerm2/sixel image data model
  • term: add placement data model to support full range of kitty placement options
  • wezterm-gui: teach renderer to allocate quads for new placement model
  • termwiz: parse animation/composition kitty image protocol sequences
  • term: apply animation to model
  • handle animation control
  • termwiz: support data transmission via shared memory on unix
  • termwiz: support data transmission via shared memory on Windows
  • placeholder support, which might enable support to function in tmux

Using it:

Enable the protocol by setting enable_kitty_graphics=true in your config.

Known conformance issues

  • The spec models image placements independently from the terminal cells, but wezterm maps them to terminal cells at placement time. As a result, over-writing cells with text can poke holes in wezterm which may not appear in kitty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions