Skip to content

Commit

Permalink
Potential fix failed
Browse files Browse the repository at this point in the history
  • Loading branch information
CabalCrow committed Dec 3, 2024
1 parent 6a9229a commit a23024c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ impl Reedline {
Some(&EditCommand::Backspace)
| Some(&EditCommand::BackspaceWord)
| Some(&EditCommand::MoveToLineStart { select: false }) => {
menu.menu_event(MenuEvent::Deactivate(false))
menu.menu_event(MenuEvent::Deactivate(self.modal_mode))
}
_ => {
menu.menu_event(MenuEvent::Edit(self.quick_completions));
Expand Down

0 comments on commit a23024c

Please sign in to comment.