Skip to main content

Module command

Module command 

Source
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§

CommandKeyParser
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 CommandKeyParser or published onto the bus by higher layers (e.g. the TUI).
ParseOutput
What CommandKeyParser::feed produced for a single input byte.

Constants§

DEFAULT_ESCAPE_BYTE
Default escape byte for the command-key parser: ^A (0x01), matching the documented CLI default.