From cb4d395997a7109362dfcab5b37d5823f4d8195e Mon Sep 17 00:00:00 2001 From: Troy Date: Tue, 14 Jan 2025 17:04:14 +0000 Subject: [PATCH] readd custom style to pb --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 4665736..13d24ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +use indicatif::ProgressStyle; use std::error::Error; use terminal_link::Link; use tokio; @@ -19,6 +20,7 @@ async fn main() -> Result<(), Box> { .try_into() .expect("Could not convert list length"), ); + pb.set_style(ProgressStyle::with_template("{wide_bar} {percent} {msg}").unwrap()); let all_items = data::run_tasks(values.to_vec(), count, skip_amount, &pb).await; pb.finish_and_clear();