Skip to main content

Module text_input

Module text_input 

Source
Expand description

Text input command names.

Re-exports§

pub use super::CANCEL;
pub use super::SUBMIT;

Constants§

DELETE_BACKWARD
Delete one character before the cursor.
DELETE_FORWARD
Delete one character at the cursor.
DELETE_LEFT
Directional alias for DELETE_BACKWARD.
DELETE_RIGHT
Directional alias for DELETE_FORWARD.
DELETE_WORD_BACKWARD
Delete one word before the cursor.
DELETE_WORD_FORWARD
Delete one word at the cursor.
DELETE_WORD_LEFT
Directional alias for DELETE_WORD_BACKWARD.
DELETE_WORD_RIGHT
Directional alias for DELETE_WORD_FORWARD.
MOVE_BACKWARD
Move one character backward.
MOVE_END
Move to the end of the input.
MOVE_FORWARD
Move one character forward.
MOVE_HOME
Move to the start of the input.
MOVE_LEFT
Directional alias for MOVE_BACKWARD.
MOVE_RIGHT
Directional alias for MOVE_FORWARD.
MOVE_WORD_BACKWARD
Move one word backward.
MOVE_WORD_FORWARD
Move one word forward.
MOVE_WORD_LEFT
Directional alias for MOVE_WORD_BACKWARD.
MOVE_WORD_RIGHT
Directional alias for MOVE_WORD_FORWARD.