summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-04-26 20:41:21 +0200
committercashmere <cashmere@autistici.org>2026-04-26 23:01:59 +0200
commit72ce9ea06b64551f3a99147695c29631022ded8f (patch)
tree3443b1be0bd13ace18db6c57286a7df4fa81a65d /AGENTS.md
parent504635cee14ce19be1dd3a2d8d57c6b5a20fe44f (diff)
downloadkitty-graphics-72ce9ea06b64551f3a99147695c29631022ded8f.tar.gz
fix(sixel): detect Windows Terminal and route GIFs through image pipeline
Windows Terminal does not expose a stable `TERM' value, so the previous sixel-detect check missed it. Accept the `WT_SESSION', `WT_PROFILE_ID' and `WT_WINDOWID' environment markers it injects into every session. Also add `gif' to `kitty-gfx--image-file-p' so GIF files are routed through the image pipeline. Animation is still not supported -- only the first frame is rendered -- but that is better than dropping them on the floor. AGENTS.md: list Windows Terminal under supported sixel terminals and soften the GIF wording from "not supported" to "first frame only". Closes #6. Co-authored-by: Tim Felgentreff <timfel@users.noreply.github.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index bfd618b..91c3644 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -32,7 +32,7 @@ emacs -Q -batch -l kitty-graphics.el -f kill-emacs
No automated test framework. All testing is manual/interactive and
requires a supported terminal (Kitty, WezTerm, Ghostty for Kitty backend;
-foot, Konsole, xterm, mlterm, mintty for Sixel backend).
+foot, Konsole, xterm, mlterm, mintty, Windows Terminal for Sixel backend).
The `tests/` directory contains `test-kitty-gfx.org`, `test-image.png`,
and `test-document.pdf` for manual testing -- use these rather than
creating new test files.
@@ -250,8 +250,8 @@ Key design differences from images:
scrolling because tmux's cell buffer is not pixel-aware (upstream limit).
Kitty graphics passthrough is still unimplemented -- tracked separately.
- **Limitation**: Each mode needs explicit `:around` advice integration
-- **Limitation**: GIF files are not supported (multi-frame conversion issues,
- no animation support in terminal)
+- **Limitation**: GIF files render only the first frame -- no animation
+ support in terminal (multi-frame conversion not implemented)
- **Limitation**: Sixel is 256 colors (vs truecolor on Kitty), stateless (re-emits on scroll)
- **Done**: LaTeX fragment preview in org-mode (#3)
- **Done**: doc-view / pdf-view-mode integration (#4)