From: Michael Elkins Date: Thu, 5 Aug 2010 23:47:45 +0000 (-0700) Subject: do not leave pager when using read-thread and read-subthread X-Git-Tag: mutt-1-5-21-rel~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d98f443d225009aa5387f4e6b8740bf09ed2baf;p=mutt do not leave pager when using read-thread and read-subthread closes #2137 --- diff --git a/curs_main.c b/curs_main.c index 58d5305e..9ae65913 100644 --- a/curs_main.c +++ b/curs_main.c @@ -2056,6 +2056,11 @@ int mutt_index_menu (void) if ((menu->current = (op == OP_MAIN_READ_THREAD ? mutt_next_thread (CURHDR) : mutt_next_subthread (CURHDR))) == -1) menu->current = menu->oldcurrent; + else if (menu->menu == MENU_PAGER) + { + op = OP_DISPLAY_MESSAGE; + continue; + } } menu->redraw = REDRAW_INDEX | REDRAW_STATUS; }