Treat backspace as a cursor left movement.

This commit is contained in:
ClementTsang 2020-02-28 19:54:20 -05:00
parent f0f1ee129e
commit 05d4982a1a
1 changed files with 1 additions and 0 deletions

View File

@ -693,6 +693,7 @@ impl App {
self.process_search_state.search_state.char_cursor_position -=
UnicodeWidthChar::width(removed_char).unwrap_or(0);
self.process_search_state.search_state.cursor_direction = CursorDirection::LEFT;
self.update_regex();
self.update_process_gui = true;