From ed1665019aab7ece7a9ecdda05bcd4120b1000ac Mon Sep 17 00:00:00 2001 From: Daniel Rebelo de Oliveira Date: Sun, 19 May 2024 16:46:05 +0100 Subject: [PATCH] show a spinner when fetching snapshots --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b771642..7b57f92 100644 --- a/src/main.rs +++ b/src/main.rs @@ -307,7 +307,7 @@ fn sync_snapshots( let missing_queue = Queue::new(missing_snapshots); // Create progress indicators - let pb = new_pb("{wide_bar} [{pos}/{len}] {msg}"); + let pb = new_pb("{wide_bar} [{pos}/{len}] {msg} {spinner}"); pb.set_length(total_missing_snapshots as u64); let speed = { let pb = pb.clone();