Fix append_mode action
This commit is contained in:
parent
c914787f47
commit
e9c8cd7a06
|
@ -112,6 +112,7 @@ pub fn insert_mode(state: &mut State) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn append_mode(state: &mut State) {
|
pub fn append_mode(state: &mut State) {
|
||||||
|
state.move_cursor(Direction::Right);
|
||||||
state.mode = Mode::Insert(InsertState { append: true });
|
state.mode = Mode::Insert(InsertState { append: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue