Skip to content

fix(cli): terminal detection for WezTerm/Ghostty/Warp/Konsole + Windo… - #1083

Open
smarpitm wants to merge 1 commit into
CodebuffAI:mainfrom
smarpitm:fix/terminal-detection-and-pwsh-fallback
Open

fix(cli): terminal detection for WezTerm/Ghostty/Warp/Konsole + Windo…#1083
smarpitm wants to merge 1 commit into
CodebuffAI:mainfrom
smarpitm:fix/terminal-detection-and-pwsh-fallback

Conversation

@smarpitm

Copy link
Copy Markdown

…ws pwsh fallback

Add kitty graphics protocol detection for WezTerm, Ghostty, Warp, and Konsole terminals (case-insensitive TERM_PROGRAM matching + KONSOLE_VERSION).

Fix Windows clipboard image paste failing silently when powershell.exe is missing by falling back to pwsh (PowerShell 7). Normalize stdout/stderr to strings so callers don't handle the string | Buffer union.

Also includes spec-compliant kitty chunking (m=0 terminator on last chunk, control data only on first chunk), iTerm2 size param fix (decoded bytes not base64 length), and image pipeline integrity tests.

Split from a912ea6 — the getKittyFormat() format ID fix is deferred to a follow-up PR.

🤖 Generated with Codebuff

…ws pwsh fallback

Add kitty graphics protocol detection for WezTerm, Ghostty, Warp, and
Konsole terminals (case-insensitive TERM_PROGRAM matching + KONSOLE_VERSION).

Fix Windows clipboard image paste failing silently when powershell.exe is
missing by falling back to pwsh (PowerShell 7). Normalize stdout/stderr
to strings so callers don't handle the string | Buffer union.

Also includes spec-compliant kitty chunking (m=0 terminator on last chunk,
control data only on first chunk), iTerm2 size param fix (decoded bytes
not base64 length), and image pipeline integrity tests.

Split from a912ea6 — the getKittyFormat() format ID fix is deferred to
a follow-up PR.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant