]> granicus.if.org Git - mutt/commitdiff
Don't full redraw the index when handling a command from the pager.
authorKevin McCarthy <kevin@8t8.us>
Mon, 27 Mar 2017 01:31:45 +0000 (18:31 -0700)
committerKevin McCarthy <kevin@8t8.us>
Mon, 27 Mar 2017 01:31:45 +0000 (18:31 -0700)
This causes a noticable flicker when moving through messages from the pager.

curs_main.c

index 5cec42cfbea1afaceffb15c931d47399e2908910..3de64d64040ec90e75eb0ad89cb9dafc7c1452f5 100644 (file)
@@ -613,14 +613,14 @@ int mutt_index_menu (void)
     if (op != -1)
       mutt_curs_set (0);
 
-    if (menu->redraw & REDRAW_FULL)
-    {
-      menu_redraw_full (menu);
-      mutt_show_error ();
-    }
-
     if (menu->menu == MENU_MAIN)
     {
+      if (menu->redraw & REDRAW_FULL)
+      {
+        menu_redraw_full (menu);
+        mutt_show_error ();
+      }
+
 #ifdef USE_SIDEBAR
       if (menu->redraw & REDRAW_SIDEBAR || SidebarNeedsRedraw)
       {