Skip to content

Commit

Permalink
Support 'j' and 'k' to move up and down
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxovic committed Sep 19, 2023
1 parent def45f5 commit d7e083c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/out_curses.c
Original file line number Diff line number Diff line change
Expand Up @@ -1189,11 +1189,13 @@ static int handle_input(int ch)

case KEY_DOWN:
case KEY_CTRL_N:
case 'j':
element_select_next();
return 1;

case KEY_UP:
case KEY_CTRL_P:
case 'k':
element_select_prev();
return 1;

Expand Down

0 comments on commit d7e083c

Please sign in to comment.