# HG changeset patch # User John "Elwin" Edwards # Date 1378247944 25200 # Node ID f0073eb75a6afb7dcec8c8048bd9a0eb71d141cd # Parent fbc75509f4cd56ab6586f2a48a3e9d42c60700a3 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. diff -r fbc75509f4cd -r f0073eb75a6a srogue/save.c --- a/srogue/save.c Tue Sep 03 14:14:48 2013 -0700 +++ b/srogue/save.c Tue Sep 03 15:39:04 2013 -0700 @@ -267,6 +267,7 @@ 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));