Skip to content

Kitty keyboard: DISAMBIGUATE (flag 1) โ€‹

Category: extensions ยท Tags: Kitty ยท Specification โ†—

Flag 1 of the Kitty keyboard protocol's progressive enhancement. When set, the terminal uses CSI u encoding for keys that would otherwise be ambiguous โ€” e.g., Escape vs Alt, Tab vs Ctrl+I, Enter vs Ctrl+M. This is the minimum flag most applications need. Without it, decades-old terminal ambiguities persist. All terminals claiming kitty keyboard support must implement this flag.
How this is tested: Push keyboard mode with flag 1 (CSI > 1 u), query flags (CSI ? u), verify bit 1 is set in response, then pop (CSI < u).
Analysis2026-03-29

Supported by 9 of 13 terminals (69%). Not supported by: Terminal.app, Cursor, vt100.js, xterm.js. Part of the Rich TUI baseline. Notes: vt100.js: Not implemented โ€” pure TypeScript emulator; xterm.js: Kitty keyboard protocol not implemented in xterm.js.

Supported by 9 of 18 backends (50%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
cmuxโœ“ yes
Ghostty1.3.1โœ“ yes
Kitty0.46.2โœ“ yes
VS Code1.113.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ— noNo kitty keyboard response
Terminal.app2.15โœ— noNo kitty keyboard response

Headless Backends โ€‹

Parser correctness only โ€” a โœ“ means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0โœ“ yes
vterm0.2.0โœ“ yes
WezTerm0.1.0-fork.5โœ“ yes
vt100.js0.2.1โœ— noNot implemented โ€” pure TypeScript emulator
xterm.js5.5.0? unknownKitty keyboard protocol not implemented in xterm.js
xterm.js6.0.0? unknownKitty keyboard protocol not implemented in xterm.js
xterm.js5.4.0? unknownKitty keyboard protocol not implemented in xterm.js
xterm.js6.1.0-beta.195? unknownKitty keyboard protocol not implemented in xterm.js

Powered by Termless
Playwright for Terminals