Expand description
update(model, msg) -> effects (doc 34, section 4): the whole behavior of the interface as a function of one
input at a time. It never blocks and never touches the terminal or the network; the calls it wants made
come out as Effects.
Functions§
- dispatch
- Runs an action of the keymap, from a key or from the command palette.
- fuzzy
- A subsequence match, ignoring case:
drnfindsDrain the node. - palette_
entries - The commands of the palette: every action that has a help text, plus a jump to each tab.
- palette_
matches - The palette entries that match a query, in either the current language or English (TUI-HLP-02). Those that contain the text come before those that only have its letters in order.
- run
- Sends an action’s call; the screen is
busyuntil the reply comes. - scope_
of - The scope whose keys apply on the screen being shown.
- update