From: Kevin McCarthy Date: Mon, 27 Mar 2017 01:31:45 +0000 (-0700) Subject: Don't full redraw the index when handling a command from the pager. X-Git-Tag: mutt-1-9-rel~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00e68918400a976de3488d3e94328036ac1dabac;p=mutt Don't full redraw the index when handling a command from the pager. This causes a noticable flicker when moving through messages from the pager. --- diff --git a/curs_main.c b/curs_main.c index 5cec42cf..3de64d64 100644 --- a/curs_main.c +++ b/curs_main.c @@ -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) {