diff srogue/main.c @ 86:8757a0593e6e

srogue: add arrow-key support. This is a first attempt which may not be completely portable.
author John "Elwin" Edwards
date Sat, 10 Aug 2013 17:43:58 -0700
parents 3aa87373c908
children 88ab59f06dfc
line wrap: on
line diff
--- a/srogue/main.c	Fri Aug 09 09:34:07 2013 -0700
+++ b/srogue/main.c	Sat Aug 10 17:43:58 2013 -0700
@@ -235,6 +235,7 @@
 	cw = newwin(0, 0, 0, 0);
 	mw = newwin(0, 0, 0, 0);
 	hw = newwin(0, 0, 0, 0);
+        keypad(cw, 1);
 	waswizard = wizard;
 
 	/* Draw current level */