From ee3408932f2198b24eb5b44448dad13c7eb335f8 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Tue, 28 Feb 2017 21:14:53 -0500 Subject: [PATCH] UltraRogue: fix the arrow keys. The startup sequence now calls keypad() to turn on curses recognition of special keys. --- urogue/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/urogue/main.c b/urogue/main.c index aed6caf..cea0360 100644 --- a/urogue/main.c +++ b/urogue/main.c @@ -202,6 +202,7 @@ main(int argc, char *argv[]) cw = newwin(LINES, COLS, 0, 0); mw = newwin(LINES, COLS, 0, 0); hw = newwin(LINES, COLS, 0, 0); + keypad(cw, TRUE); if (use_savedir) { if (!restore(file_name))