Skip to main content

handle_key

Function handle_key 

Source
pub fn handle_key(action: KeyCommand, app: &mut AppState) -> AppAction
Expand description

Handle an action while in MoveSelect mode.

The user navigates an insertion cursor between commits. The cursor (insert_before) represents the position where the source commit will be placed. Arrow keys move the insertion point; Enter confirms; Esc cancels.