fix: add Warp terminal to unsupported Ctrl+Alt shortcut list

Warp terminal (both macOS and Windows) does not emit recognized escape
sequences for Ctrl+Alt key combos. This adds Warp to the unsupported
terminals list so users see the /gsd status fallback hint.

Closes #643

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson 2026-03-16 13:37:53 -06:00
parent b6b9f44758
commit 36345c12fc

View file

@ -5,7 +5,7 @@
* Terminals that lack this support silently swallow the key combos.
*/
const UNSUPPORTED_TERMS = ["apple_terminal"];
const UNSUPPORTED_TERMS = ["apple_terminal", "warpterm"];
export function supportsCtrlAltShortcuts(): boolean {
const term = (process.env.TERM_PROGRAM || "").toLowerCase();