Skip to content

Commit

Permalink
Added MenuNext as a binded event for the tab key (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
uek-1 authored Sep 27, 2024
1 parent 660a507 commit 4634f71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ fn add_menu_keybindings(keybindings: &mut Keybindings) {
KeyCode::Tab,
ReedlineEvent::UntilFound(vec![
ReedlineEvent::Menu("completion_menu".to_string()),
ReedlineEvent::MenuNext,
ReedlineEvent::Edit(vec![EditCommand::Complete]),
]),
);
Expand Down

0 comments on commit 4634f71

Please sign in to comment.