Expand description
Runtime commands and the keyboard state machine that produces them.
Stub: only the public types are defined here. Behaviour is filled in by the next commit in the TDD cycle.
Structs§
- Command
KeyParser - State machine that splits stdin bytes into “data to send” vs. “commands to dispatch” using the configurable escape key.
Enums§
- Command
- One actionable command produced by
CommandKeyParseror published onto the bus by higher layers (e.g. the TUI). - Parse
Output - What
CommandKeyParser::feedproduced for a single input byte.
Constants§
- DEFAULT_
ESCAPE_ BYTE - Default escape byte for the command-key parser:
^A(0x01), matching the documented CLI default.