1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-20 15:56:05 +02:00

removed redundant line

This commit is contained in:
Jan Hrastnik 2020-10-01 01:23:06 +02:00
parent dd94a39810
commit 13800e4dd1

View File

@ -325,9 +325,6 @@ pub async fn event_loop(&mut self) {
if let Some(command) = keymap[&Mode::Insert].get(&keys) {
// TODO: handle count other than 1
command(view, 1);
// TODO: simplistic ensure cursor in view for now
view.ensure_cursor_in_view();
} else {
if let KeyEvent {
code: KeyCode::Char(c),