diff options
| -rw-r--r-- | kitty-graphics.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kitty-graphics.el b/kitty-graphics.el index d1514df..4879de6 100644 --- a/kitty-graphics.el +++ b/kitty-graphics.el @@ -650,6 +650,12 @@ Sixel because they drop the DCS payload." (supported (and term (or (not in-tmux) tmux-ok) (or (string-match-p "xterm\\|vt[0-9]\\|foot\\|contour" term) + ;; Once `tmux-ok' is true, tmux >= 3.4 itself + ;; renders Sixel, so the outer TERM regex is + ;; irrelevant -- accept the canonical + ;; tmux-* / screen-* TERMs that tmux assigns. + (and tmux-ok + (string-match-p "\\`\\(tmux\\|screen\\)\\b" term)) (member term-prog '("foot" "Konsole" "mintty" "mlterm" "contour" "WezTerm")) windows-terminal) |
