Skip to main content

Module input

Module input 

Source
Expand description

Input handling: dispatches keystrokes by current mode.

Routes key events to the appropriate handler based on state.mode: Navigation → keymap::navigation, Search → keymap::search, Command → command_parser::feed (Phase 3).

Modules§

command_parser
Command Mode grammar: parsing, history, completion, and validation.
keymap
Default and user-configured key bindings.

Structs§

InputCtx
Mutable context shared with the keymap across ticks.

Functions§

dispatch
Dispatches key to the appropriate mode handler.
is_text_modifiers
Whether a Char key with modifiers is a typed character rather than a chord.