From: Rocco Rutte Date: Tue, 3 Oct 2006 16:45:45 +0000 (+0000) Subject: Clear the progress bar when the current operation has completed. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fed859f0e7b9781972f007d62c12aecc1410b01e;p=neomutt Clear the progress bar when the current operation has completed. --- diff --git a/curs_lib.c b/curs_lib.c index 0622dba94..bc68335c7 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -355,6 +355,9 @@ void mutt_progress_bar (progress_t* progress, long pos) else mutt_message ("%s %s", progress->msg, posstr); } + + if (pos >= progress->size) + mutt_clear_error (); } #endif