srogue: enable the keypad when restoring.

keypad() was only being called when starting a new game, which meant
the arrow keys did not work when restoring a saved game.
This commit is contained in:
John "Elwin" Edwards 2013-09-03 15:39:04 -07:00
parent 36769ea3e4
commit 6d1d59555c

View file

@ -267,6 +267,7 @@ char *file, **envp;
cw = newwin(LINES, COLS, 0, 0);
mw = newwin(LINES, COLS, 0, 0);
hw = newwin(LINES, COLS, 0, 0);
keypad(cw, 1);
mpos = 0;
mvwprintw(cw, 0, 0, "%s: %s", file, ctime(&sbuf2.st_mtime));