Skip to content

Commit

Permalink
Merge pull request #4 from drdo/show-spinner-fetching-snapshots
Browse files Browse the repository at this point in the history
Show a spinner when fetching snapshots
  • Loading branch information
drdo authored May 19, 2024
2 parents 31970a1 + ed16650 commit d34337b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d34337b

Please sign in to comment.