From: Kevin McCarthy Date: Fri, 21 Dec 2018 17:42:26 +0000 (-0800) Subject: Display mail sent message after Fcc finishes. X-Git-Tag: mutt-1-12-rel~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9a6082cb919469e48a19f2a61aa7f2a8e75308d;p=mutt Display mail sent message after Fcc finishes. For the case of IMAP, the uploading message would otherwise stay on the screen. In any case, it's best to show that message as the last thing before returning to the index. Thanks to chdiza for reporting the issue! --- diff --git a/send.c b/send.c index 975425c9..610ef3a5 100644 --- a/send.c +++ b/send.c @@ -2042,12 +2042,12 @@ main_loop: goto cleanup; } } - else if (!option (OPTNOCURSES) && ! (flags & SENDMAILX)) - mutt_message (i == 0 ? _("Mail sent.") : _("Sending in background.")); - save_fcc (msg, fcc, sizeof(fcc), clear_content, pgpkeylist, flags); + if (!option (OPTNOCURSES) && ! (flags & SENDMAILX)) + mutt_message (i == 0 ? _("Mail sent.") : _("Sending in background.")); + if (WithCrypto && (msg->security & ENCRYPT)) FREE (&pgpkeylist);