Skip to content

About shows the artwork in kitty and Ghostty, and Diagnostics says how it's drawn - #547

Open
a-team-app[bot] wants to merge 1 commit into
mainfrom
feat/about-kitty-graphics
Open

a-team-app[bot] wants to merge 1 commit into
mainfrom
feat/about-kitty-graphics

Conversation

@a-team-app

@a-team-app a-team-app Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

tui now shows the artwork in kitty and Ghostty, drawn as a kitty graphics image by Terminal.Gui's ImageView. Sixel terminals (WezTerm, iTerm2, tmux 3.6, Windows Terminal, foot) draw it through ImageView too, still sized by our own probe. Terminals with neither protocol keep the ASCII art. F12 Diagnostics has a new Image protocol row that reads kitty graphics, sixel or none (ASCII art), matching what About draws.

Closes #537

Notes

  • I checked the sixel path, a second open and closing the dialog in tuirec, which draws sixel: the image fills the art area with no band, and closing leaves nothing behind. I haven't tried real kitty, Ghostty, iTerm2 or WezTerm windows. tuirec sets KITTY_WINDOW_ID, so it takes the kitty path, but it can't draw kitty images.
  • Until our startup probe answers, Diagnostics says asking the terminal… on that row.
  • On the first open of a given size, ImageView shows its own small spinner for the moment it takes to encode the sixel. Later opens reuse that encoding.

a-team try tuicode 547

🤖 Generated with Claude Code

…hostty

About now draws through Terminal.Gui 2.5's ImageView: kitty graphics where
TG detects kitty or Ghostty outside tmux, sixel where our probe finds it,
and the ASCII art otherwise. Our probe's sixel answer and cell size are
handed to the driver on every open, and inside tmux the kitty graphics TG
detects from a leaked KITTY_WINDOW_ID are turned off. The host keeps one
ImageView across opens so its sixel encoding is reused.

F12 Diagnostics gains an Image protocol row naming the one About uses.

Closes #537

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@a-team-app
a-team-app Bot marked this pull request as ready for review October 13, 2026 12:19

This branch has not been deployed

No deployments
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.

About shows the artwork in kitty and Ghostty, and Diagnostics says how it's drawn

0 participants