Fix append_mode action

This commit is contained in:
mars 2023-04-13 00:43:21 -04:00
parent c914787f47
commit e9c8cd7a06
1 changed files with 1 additions and 0 deletions

View File

@ -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 });
}