changeset 105:f0073eb75a6a

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.
author John "Elwin" Edwards
date Tue, 03 Sep 2013 15:39:04 -0700
parents fbc75509f4cd
children c191a735f811
files srogue/save.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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));