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

@@ -151,6 +151,7 @@ extern boolean curses_map_borders(int *sx, int *sy, int *ex, int *ey,
/* cursmisc.c */
extern int curses_getch(void);
extern int curses_read_char(void);
extern void curses_toggle_color_attr(WINDOW *win, int color, int attr,
int onoff);