Skip to content

Commit

Permalink
changed update values to partial completions
Browse files Browse the repository at this point in the history
  • Loading branch information
uek-1 committed Sep 17, 2024
1 parent 8791f74 commit 6712fa1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,9 @@ impl Reedline {
}
ReedlineEvent::MenuNext => {
if let Some(menu) = self.menus.iter_mut().find(|menu| menu.is_active()) {
if self.quick_completions && menu.can_quick_complete() {
menu.update_values(
if self.partial_completions {
menu.can_partially_complete(
self.quick_completions,
&mut self.editor,
self.completer.as_mut(),
self.history.as_ref(),
Expand Down

0 comments on commit 6712fa1

Please sign in to comment.