Expand description
Keyboard input handling.
This module provides types for representing keyboard events, including special keys, control combinations, and regular character input.
Structs§
- KeyMsg
- Keyboard key event message.
Enums§
- KeyType
- Key type enumeration.
Functions§
- from_
crossterm_ key - Convert a crossterm KeyCode to our KeyType.
- is_
sequence_ prefix - Check if the input bytes form a prefix of any known ANSI sequence.
- parse_
sequence - Parse a raw ANSI escape sequence into a KeyMsg.
- parse_
sequence_ prefix - Parse a raw ANSI escape sequence from the start of the input.