fix(tui): support modified enter for multiline input

This commit is contained in:
Brooklyn Nicholson 2026-04-26 13:52:54 -05:00
parent bb59d3bac2
commit 015f6c825d
4 changed files with 36 additions and 9 deletions

View file

@ -176,7 +176,7 @@ export function isXtermJs(): boolean {
// in xterm.js-based terminals like VS Code). tmux is allowlisted because it
// accepts modifyOtherKeys and doesn't forward the kitty sequence to the outer
// terminal.
const EXTENDED_KEYS_TERMINALS = ['iTerm.app', 'kitty', 'WezTerm', 'ghostty', 'tmux', 'windows-terminal']
const EXTENDED_KEYS_TERMINALS = ['iTerm.app', 'kitty', 'WezTerm', 'ghostty', 'tmux', 'windows-terminal', 'vscode']
/** True if this terminal correctly handles extended key reporting
* (Kitty keyboard protocol + xterm modifyOtherKeys). */