Expand description
Progressive keyboard enhancement protocol.
§Category
This module emits CSI u queries and setters for enhanced keyboard reporting:
requesting active flags, setting/add/removing flags, and pushing/popping a
keyboard flag stack.
§CSI format
The protocol uses private CSI prefixes before the final u:
ESC [ = flags ; mode u set/add/remove flags
ESC [ > flags u push stack frame
ESC [ < count u pop stack frame(s)
ESC [ ? u query active flags§Mode interaction
These controls manage their own keyboard-reporting state and are independent
of modifyOtherKeys controls in crate::ansi::xterm.
Structs§
- Kitty
Keyboard Flags - Bitflags for progressive keyboard reporting.
Enums§
- Kitty
Keyboard Mode - Operation mode used by
write_set_kitty_keyboardfor CSI= flags ; mode u.
Constants§
- REQUEST_
KITTY_ KEYBOARD - Request active keyboard enhancement flags: exact bytes
ESC [ ? u(b"\x1b[?u").
Functions§
- write_
pop_ kitty_ keyboard - Pop keyboard enhancement stack frames with
ESC [ < <count> u. - write_
push_ kitty_ keyboard - Push a keyboard enhancement stack frame with
ESC [ > <flags> u. - write_
request_ kitty_ keyboard - Write
REQUEST_KITTY_KEYBOARD, theESC [ ? uactive-flag query. - write_
set_ kitty_ keyboard - Set, add, or remove keyboard enhancement flags with
ESC [ = <flags> ; <mode> u.