summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/commands/source/download.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/source/download.rs b/src/commands/source/download.rs
index f9ebd42..11843fa 100644
--- a/src/commands/source/download.rs
+++ b/src/commands/source/download.rs
@@ -64,6 +64,8 @@ impl ProgressWrapper {
async fn inc_download_count(&mut self) {
self.download_count += 1;
self.set_message().await;
+ let bar = self.bar.lock().await;
+ bar.set_length(bar.length() + 1);
}
async fn inc_download_bytes(&mut self, bytes: u64) {