Skip to main content

Module keys

Module keys 

Source
Expand description

Shared keyboard and interaction copy for list modals and command menus.

One source of truth so footer hints cannot drift across surfaces. Pair these with design::list row kinds: nested views use BACK, top-level pickers use CANCEL, filter-aware lists append FILTER.

Constants§

ADJUST
Change a setting value without cycling the row.
APPLY
Commit the highlighted row.
BACK
Nested view: leave this level (root Esc closes).
CANCEL
Top-level picker: dismiss (after clearing a non-empty filter).
CLEAR_OR_CANCEL
Standalone picker Esc: clear filter, then cancel.
CONFIRM
Confirm in standalone pickers.
ENDS
Jump to first/last row.
FILTER
Type-to-filter affordance (when the list has a search field).
MOVE_VIM
Vim-style movement used by standalone ratatui pickers.
NAVIGATE
Move selection.

Functions§

choice_hint
Footer for standalone choice pickers (run_interactive_selection).
list_hint
Footer for shared list modals with a search field (settings, model picker).