Skip to main content

Module help

Module help 

Source
Expand description

The help overlay: one screen’s keys from the key registry (datui_cli::keys), grouped by task, the keys of every screen last.

/ narrows the lines to those whose key, label or description holds what is typed. Enter closes the help and presses the key on the selected line, as the next key the app takes: Help::key answers HelpKey::Press, and the App hands that key back to the event loop as its follow-up AppEvent::Key, so it takes the path a typed key takes (held while busy, replayed in order) rather than a parallel set of actions.

Structs§

Block
One group’s lines, under its name.
Help
The overlay’s state: open over a context, or closed.

Enums§

HelpKey
What a key typed at the help did.
Line
What a line of the help holds.

Functions§

key_event
The key event a chord stands for, as a terminal reports it.