Skip to content

Commit

Permalink
feat(ui): add CTRL+N and ctrl+P keybinds (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourai authored Jan 21, 2025
1 parent 1a91efc commit cd697f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ impl App {

match key.code {
Char('c') => AppKeyAction::Stop,
Char('j') => {
Char('j' | 'n') => {
self.next();
AppKeyAction::Ok
}
Char('k') => {
Char('k' | 'p') => {
self.previous();
AppKeyAction::Ok
}
Expand Down

0 comments on commit cd697f4

Please sign in to comment.