Skip to main content

Module commands

Module commands 

Source
Expand description

Shared command names understood by built-in interactive components.

These constants are plain &'static str values so they can be used anywhere command strings are accepted, including keybinding setup and tests.

Modules§

text_input
Text input command names.

Constants§

CANCEL
Cancel the current interaction.
CONFIRM
Confirm the current item.
DOWN
Alias for NEXT used by directional widgets.
END
Alias for LAST used by home/end style keymaps.
FIRST
Move to the first item or top of content.
HOME
Alias for FIRST used by home/end style keymaps.
LAST
Move to the last item or bottom of content.
LEFT
Move or collapse left in hierarchical widgets.
NEXT
Move to the next item or line.
PAGE_DOWN
Move down by one page.
PAGE_UP
Move up by one page.
PREV
Move to the previous item or line.
RIGHT
Move or expand right in hierarchical widgets.
SELECT
Select the current item.
SUBMIT
Submit the current value.
TOGGLE
Toggle the current item.
UP
Alias for PREV used by directional widgets.