From 58e479307b22481c768214e59616ea71d2858aee Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sat, 11 Nov 2006 17:31:43 +0100 Subject: [PATCH] ncurse 4.2 hahaha \o/ Signed-off-by: Pierre Habouzit --- lib-ui/curs_lib.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index 20fd3da..2eb7415 100644 --- a/lib-ui/curs_lib.c +++ b/lib-ui/curs_lib.c @@ -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) -- 2.20.1