Fix curses cursor keys

My change to allow fuzzer run in curses caused the cursor keys
to not work (eg. paging through menus with left and right cursor),
so fix that.
This commit is contained in:
Pasi Kallinen
2022-09-24 10:40:34 +03:00
parent c3b007186c
commit ef093d0b30
4 changed files with 16 additions and 5 deletions

View File

@@ -1487,7 +1487,7 @@ menu_get_selections(WINDOW *win, nhmenu *menu, int how)
menu_display_page(menu, win, curpage, selectors, groupaccels);
while (!dismiss) {
curletter = curses_read_char();
curletter = curses_getch();
if (curletter == ERR) {
num_selected = -1;