ncurse 4.2 hahaha \o/
authorPierre Habouzit <madcoder@debian.org>
Sat, 11 Nov 2006 16:31:43 +0000 (17:31 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sat, 11 Nov 2006 16:31:43 +0000 (17:31 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-ui/curs_lib.c

index 20fd3da..2eb7415 100644 (file)
@@ -90,12 +90,7 @@ event_t mutt_getch (void)
   SigInt = 0;
 
   mutt_allow_interrupt (1);
-#ifdef KEY_RESIZE
-  /* ncurses 4.2 sends this when the screen is resized */
-  ch = KEY_RESIZE;
-  while (ch == KEY_RESIZE)
-#endif /* KEY_RESIZE */
-    ch = getch ();
+  ch = getch ();
   mutt_allow_interrupt (0);
 
   if (SigInt)