Skip to content

Commit

Permalink
Reset cursor blinking on ToggleViMode
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov authored Jan 21, 2022
1 parent c4d610d commit 14c22b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion alacritty/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ impl<T: EventListener> Execute<T> for Action {
ctx.display().hint_state.start(hint.clone());
ctx.mark_dirty();
},
Action::ToggleViMode => ctx.toggle_vi_mode(),
Action::ToggleViMode => {
ctx.on_typing_start();
ctx.toggle_vi_mode()
},
Action::ViMotion(motion) => {
ctx.on_typing_start();
ctx.terminal_mut().vi_motion(*motion);
Expand Down

0 comments on commit 14c22b1

Please sign in to comment.