From: Michael Elkins Date: Thu, 14 Nov 2002 08:12:30 +0000 (+0000) Subject: Fix #1388. X-Git-Tag: mutt-1-5-2-rel~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fefa931a26df746c7e9864b7ee8cbec9a2ac2953;p=mutt Fix #1388. --- diff --git a/curs_lib.c b/curs_lib.c index f1b38772..ae4f17e4 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -67,12 +67,14 @@ 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 (); + mutt_allow_interrupt (0); if (SigInt) mutt_query_exit ();