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: mutt-1-8-rel~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c899934689f371abfbe2118a3d5f13e9e4caad3d;p=mutt Return to pager upon aborting a jump operation. (closes #3901) --- diff --git a/curs_main.c b/curs_main.c index a0977057..7e45ba68 100644 --- a/curs_main.c +++ b/curs_main.c @@ -831,7 +831,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) {