From: Kevin McCarthy Date: Wed, 30 Nov 2016 01:48:33 +0000 (-0800) Subject: Return to pager upon aborting a jump operation. (closes #3901) X-Git-Tag: neomutt-20170113~15^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a6525f5ccba6584d7dd58f09d3e938f90192f50;p=neomutt Return to pager upon aborting a jump operation. (closes #3901) --- diff --git a/curs_main.c b/curs_main.c index b6f713e32..72dd885f2 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1375,7 +1375,14 @@ int mutt_index_menu (void) buf[0] = 0; if (mutt_get_field (_("Jump to message: "), buf, sizeof (buf), 0) != 0 || !buf[0]) + { + if (menu->menu == MENU_PAGER) + { + op = OP_DISPLAY_MESSAGE; + continue; + } break; + } if (mutt_atoi (buf, &i) < 0) {