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:
parent
36769ea3e4
commit
6d1d59555c
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue