summaryrefslogtreecommitdiff
path: root/docs/text-sizing-protocol.md
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-03-20 16:23:12 +0100
committercashmere <cashmere@autistici.org>2026-03-20 16:23:12 +0100
commit20d01860ce676e24a09ea2c5368230e81e5df6bb (patch)
tree9940012c1daf073ba606e6aece0800dcfc47c88c /docs/text-sizing-protocol.md
parent880e0b981eb219b22785cac93f175573b7faf2cc (diff)
downloadkitty-graphics-20d01860ce676e24a09ea2c5368230e81e5df6bb.tar.gz
feat: add Sixel graphics backend with protocol auto-detection
Introduce backend dispatch architecture so the package supports multiple terminal graphics protocols. Existing Kitty protocol code is extracted into a `kitty` backend; a new `sixel` backend enables ~20 additional terminals (foot, Konsole, xterm, mlterm, mintty, VS Code Terminal). Key changes: - Alist-based backend dispatch (`kitty-gfx--backends`, `kitty-gfx--backend-fn`) - Kitty backend: detect/prepare/place/delete/cleanup extracted from inline code - Sixel backend: ImageMagick-based encoding, temp-file cache, DCS emission - Auto-detection (`kitty-gfx--detect-protocol`): tries Kitty first, then Sixel - `kitty-gfx-preferred-protocol` defcustom for user override (auto/kitty/sixel) - Mode-line indicator shows active backend: [K], [S], or [?] - Fix obsolete `when-let` → `when-let*` (zero byte-compile warnings) All integration points (org, image-mode, shr, dired, doc-view) dispatch through the backend interface — no mode-specific changes needed.
Diffstat (limited to 'docs/text-sizing-protocol.md')
0 files changed, 0 insertions, 0 deletions