]> granicus.if.org Git - neomutt/commitdiff
Sleep $sleep_time after displaying "mail sent" message
authorKevin McCarthy <kevin@8t8.us>
Tue, 1 Jan 2019 19:24:11 +0000 (11:24 -0800)
committerRichard Russon <rich@flatcap.org>
Mon, 7 Jan 2019 15:09:42 +0000 (15:09 +0000)
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 <rich@flatcap.org>
send.c

diff --git a/send.c b/send.c
index aa5d80683a33bca0ea14c43c1e60fdf341952b13..1da563de4d7cb0762a5681b54ac7ff31287095fd 100644 (file)
--- 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)