Skip to content

CSI u Key Encoding โ€‹

Category: input ยท Tags: Xterm Extensions ยท Specification โ†—

The fixterms/CSI u encoding reports keypresses as CSI codepoint ; modifiers u sequences. This was the precursor to the Kitty keyboard protocol and provides unambiguous key identification for terminal applications.
How this is tested: Query keyboard mode flags and check if the terminal supports CSI u encoding for key events.
Analysis2026-03-26

Supported by 7 of 8 terminals (88%). Not supported by: Cursor. Part of the Modern TUI baseline.

Supported by 12 of 13 backends (92%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yes
VS Code1.112.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ“ yes
tmux3.6aโœ“ yes
Kitty0.46.2โœ“ yes
Terminal.app2.15โœ“ yes
GNU Screen5.0.1โœ“ yes

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
vt1000.2.1โœ— noCSI u keyboard protocol not implemented

Powered by Termless
Playwright for Terminals