venti forwards sixel and the kitty graphics protocol (kgp). iterm2 image sequences are unsupported.
- standard format:
ESC P ... q ... ESC \ - native on:
foot,konsole,wezterm,contour,mlterm. - features zero-bloat pure-rust decoding via
icy_sixel. - direct bit-masking and row-level truncation ensures images never bleed over pane boundaries or split borders.
- standard format: apc
ESC _G ... ESC \ - native on:
kitty,ghostty,wezterm. - forwards kitty animation frame and playback commands; animated gifs work with
kitten icat. - support for chunked payloads (
m=1/m=0), direct data transmission (t=d), and file-backed transfers read by the daemon. - preserves image data and restores placements after terminal, pane, and animated-layout resizes.
- unicode placeholders (
U+10EEEE): images are anchored to virtual grid character cells using unicode placeholder characters with diacritics. during split reflows, zooming, and scrolling, images track the pane text accurately without drifting.
- pty sequence interceptor: incoming escape streams from child ptys are parsed in real time off the render thread. graphic escape sequences are stripped from the pty stream before passing through to the
vt100parser. - layered rendering pass: graphic commands are emitted to the host terminal before drawing text cells, guaranteeing that characters and ui borders paint cleanly over graphic layers without artifacts.
- strict pane clipping: sixels are cropped and kitty placements are constrained to active pane rectangles.
- viewport synchronization: kitty placements and sixel anchors follow observed grid scrolling in primary and alternate screens. text written over a sixel placement invalidates that placement before repaint.
- capability detection: the client reports both
TERMandTERM_PROGRAM, so genericTERMvalues do not hide kitty or sixel support from child applications. - iterm2 image protocol and kitty shared-memory transfer are unsupported.
in ~/.config/yazi/yazi.toml:
[preview]
image_filter = "lanczos3"
max_width = 1600
max_height = 1200yazi automatically detects sixel or kitty protocol support via query probes answered by venti's pane query responder.
to display images using kitty graphics:
chafa -f kitty image.pngor using sixel:
chafa -f sixel image.pngkitty and sixel support depends on the attached terminal. iterm2 image sequences are not forwarded as graphics.
inside kitty or ghostty:
kitten icat image.png- run
venti doctorto verify outer terminal graphics detection. - ensure
general.graphics = truein~/.config/venti/config.toml. - when running inside tmux outside venti, enable passthrough:
set -g allow-passthrough on.