From e9c8cd7a061c146d85f83cf24e1363b0f687e69b Mon Sep 17 00:00:00 2001 From: mars Date: Thu, 13 Apr 2023 00:43:21 -0400 Subject: [PATCH] Fix append_mode action --- src/actions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions.rs b/src/actions.rs index 40de41e..03e1202 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -112,6 +112,7 @@ pub fn insert_mode(state: &mut State) { } pub fn append_mode(state: &mut State) { + state.move_cursor(Direction::Right); state.mode = Mode::Insert(InsertState { append: true }); }