UltraRogue: fix the arrow keys.

The startup sequence now calls keypad() to turn on curses recognition
of special keys.
This commit is contained in:
John "Elwin" Edwards 2017-02-28 21:14:53 -05:00
parent 8eebfc0c85
commit ee3408932f

View file

@ -202,6 +202,7 @@ main(int argc, char *argv[])
cw = newwin(LINES, COLS, 0, 0);
mw = newwin(LINES, COLS, 0, 0);
hw = newwin(LINES, COLS, 0, 0);
keypad(cw, TRUE);
if (use_savedir) {
if (!restore(file_name))