From: Kevin McCarthy Date: Fri, 10 Nov 2017 21:06:43 +0000 (-0800) Subject: Add message count to $move quadoption prompt. X-Git-Tag: mutt-1-10-rel~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d165960151d1dd0862690244cf973943cfde577e;p=mutt Add message count to $move quadoption prompt. Display the number of messages that will be moved in the quadoption prompt, which might prove helpful for some people. Thank you to Daan van Rossum for suggesting the improvement. --- diff --git a/mx.c b/mx.c index 1f991208..a015bf44 100644 --- a/mx.c +++ b/mx.c @@ -828,7 +828,8 @@ int mx_close_mailbox (CONTEXT *ctx, int *index_hint) if (isSpool && *mbox) { mutt_expand_path (mbox, sizeof (mbox)); - snprintf (buf, sizeof (buf), _("Move read messages to %s?"), mbox); + snprintf (buf, sizeof (buf), _("Move %d read messages to %s?"), + read_msgs, mbox); if ((move_messages = query_quadoption (OPT_MOVE, buf)) == -1) { ctx->closing = 0;