]> granicus.if.org Git - mutt/commitdiff
Fix #1388.
authorMichael Elkins <me@sigpipe.org>
Thu, 14 Nov 2002 08:12:30 +0000 (08:12 +0000)
committerMichael Elkins <me@sigpipe.org>
Thu, 14 Nov 2002 08:12:30 +0000 (08:12 +0000)
curs_lib.c

index f1b387729b88ed20e118afbabbf40dfd5305c996..ae4f17e4ba5289f95727f8f84ca7909bbcc411dd 100644 (file)
@@ -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 ();