feat(tui): detect Warp terminal and enable Kitty image protocol (#5841)

Warp supports the Kitty graphics protocol and OSC 8 hyperlinks,
but pi's terminal-image capability detection did not recognize it.
Add detection via TERM_PROGRAM=WarpTerminal, WARP_SESSION_ID,
and WARP_TERMINAL_SESSION_UUID so images render inline without
requiring the TERM_PROGRAM=kitty workaround.

Fixes #5827
This commit is contained in:
Diego de Oliveira
2026-06-18 05:45:51 -03:00
committed by GitHub
parent 51f7523587
commit 7a14325b24
3 changed files with 50 additions and 1 deletions

View File

@@ -257,7 +257,7 @@ md.setText("Updated markdown");
### Image
Renders images in supported terminals (Kitty, iTerm2, Ghostty, WezTerm).
Renders images in supported terminals (Kitty, iTerm2, Ghostty, WezTerm, Warp).
```typescript
const image = new Image(