From: Kevin McCarthy Date: Tue, 1 Jan 2019 19:24:11 +0000 (-0800) Subject: Sleep $sleep_time after displaying "mail sent" message X-Git-Tag: 2019-10-25~396^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2880c0bfbf394f2752b64bdc849622d5789f6fa;p=neomutt Sleep $sleep_time after displaying "mail sent" message In case returning the index displays some kind of error right away, to give time to see the success message. Co-authored-by: Richard Russon --- diff --git a/send.c b/send.c index aa5d80683..1da563de4 100644 --- a/send.c +++ b/send.c @@ -2471,6 +2471,7 @@ int ci_send_message(int flags, struct Email *msg, const char *tempfile, if (NmRecord) nm_record_message(ctx->mailbox, finalpath, cur); #endif + mutt_sleep(0); } if (WithCrypto)