]> git.wh0rd.org Git - nano.git/commitdiff
Oops, restore keypad() call when using PDCURSES
authorChris Allegretta <chrisa@asty.org>
Sun, 7 Jan 2001 07:31:12 +0000 (07:31 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 7 Jan 2001 07:31:12 +0000 (07:31 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index dc775d600fc307c5f46598c15d04beb6c1c512bf..19d9434c0e5c369a272c533a25c47a5e66334b9d 100644 (file)
--- a/nano.c
+++ b/nano.c
@@ -2253,6 +2253,12 @@ int main(int argc, char *argv[])
     edit_refresh();
     reset_cursor();
 
+#ifdef PDCURSES
+    /* Oops, I guess we need this again */
+    keypad(edit, TRUE);
+    keypad(bottomwin, TRUE);
+#endif
+
     while (1) {
 
 #ifndef _POSIX_VDISABLE