]> granicus.if.org Git - neomutt/commitdiff
Revert "Don't clear the macro buffer during startup"
authorRichard Russon <rich@flatcap.org>
Wed, 13 Dec 2017 15:19:05 +0000 (15:19 +0000)
committerRichard Russon <rich@flatcap.org>
Wed, 13 Dec 2017 15:21:05 +0000 (15:21 +0000)
Fixes #997

This reverts commit baf6ebbfc939278efb1895bed47e553ea7de19b1.

curs_main.c

index 525585fd24a85055bee85a8175749ab7b9f89594..4ad2048748dd735311a957d927355d155c96ac01 100644 (file)
@@ -946,12 +946,6 @@ int mutt_index_menu(void)
     menu->redraw = REDRAW_FULL;
   }
 
-  /* On SIGWINCH, we clear the input buffer and redraw the screen.
-   * We don't want this to happening the first time we enter the loop.
-   * The startup hook puts commands into the keyboard buffer which we don't
-   * want to lose. */
-  SigWinch = 0;
-
   while (true)
   {
     /* Clear the tag prefix unless we just started it.  Don't clear