From 16661b58c905b864e6b56dd7b5619c2c0c80b0bd Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 3 Oct 2006 16:45:45 +0000 Subject: [PATCH] Clear the progress bar when the current operation has completed. --- curs_lib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/curs_lib.c b/curs_lib.c index 0622dba9..bc68335c 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 -- 2.40.0