Expand description
The command registry.
Every user-visible action is registered here exactly once. The keymap, the : command
line, the which-key popup and the help overlay all read this one table, so they cannot
drift apart: a command that exists is reachable and discoverable by construction.
Commands carry an Action rather than a function pointer. Dispatch lives in
tmprl-tui, which keeps this crate free of any application or terminal types, and
makes the match on Action exhaustive, so a new command cannot be silently unhandled.
Structs§
Enums§
- Action
- What a command does.
tmprl-tuimatches on this exhaustively. - Payload
Part - Which payloads a yank takes.