Docs · tmux & Graphics · v0.2.1

Kitty Graphics inside tmux without blank frames.

Inside tmux, terminal graphics frames are dropped unless passthrough is enabled. hoja handles APC wrapping automatically and tells you the exact tmux flag if frames are blocked.

Kitty Graphicstmux passthroughhoja doctorv0.2.1View .md

01 · The One-Line Fix

Enable tmux allow-passthrough.

enable passthrough for the current server and ~/.tmux.conf
# Apply immediately to a running tmux server:tmux set -g allow-passthrough on # Persist in ~/.tmux.conf:set -g allow-passthrough on

When TMUX is set in the environment, hoja automatically wraps every Kitty Graphics Protocol frame in the \x1bPtmux;... APC passthrough sequence. If frames still come out blank, tmux itself is filtering passthrough sequences until allow-passthrough is enabled.

02 · Diagnostics

Check every layer with hoja doctor.

run inside your real terminal pane
hoja doctor
  • kitty graphics row: Confirms your outer terminal (Ghostty or Rex) answered the Kitty graphics probe.
  • tmux row: Reports whether TMUX is active and checks the live allow-passthrough setting.
  • theme (osc) row: Shows the detected OSC 10/11 background and foreground colors driving OKLab recoloring.
  • Live transport HUD: Run hoja paper.pdf --perf (or press D inside the reader) to see live FPS, frame time, and Kitty transport tag (gpu, shm, tmp, or dir).