diff options
author | Michael Elkins <me@sigpipe.org> | 2010-08-05 16:47:45 -0700 |
---|---|---|
committer | Michael Elkins <me@sigpipe.org> | 2010-08-05 16:47:45 -0700 |
commit | 9d98f443d225009aa5387f4e6b8740bf09ed2baf (patch) | |
tree | c3b9925cfa2384cc49b83c2a50d7f5da81882bfd | |
parent | 9000ca9270248e038f5524552eed6f51dbe50a4d (diff) |
do not leave pager when using read-thread and read-subthread
closes #2137
-rw-r--r-- | curs_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |