Skip to content

Commit

Permalink
Added MenuNext as a binded event for the tab key
Browse files Browse the repository at this point in the history
  • Loading branch information
uek-1 committed Sep 27, 2024
1 parent 660a507 commit 2310d32
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 2310d32

Please sign in to comment.