Skip to main content

step

Function step 

Source
pub fn step<H: Host>(editor: &mut Editor<Buffer, H>, input: Input) -> bool
Expand description

Drive the vim FSM with one Input. Returns true if the engine consumed the keystroke. Hosts that don’t pull in the crossterm feature reach the FSM through this function (the crossterm-gated Editor::handle_key is a thin wrapper around it).