From 28d3aed7ba96d84ee4a2c0d2d75786d95ab0add9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 12 Mar 2023 14:33:32 +0100 Subject: [PATCH] Update Bar --- schemsearch-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemsearch-cli/src/main.rs b/schemsearch-cli/src/main.rs index ca155b2..b829bf5 100644 --- a/schemsearch-cli/src/main.rs +++ b/schemsearch-cli/src/main.rs @@ -257,7 +257,7 @@ fn main() { } ThreadPoolBuilder::new().num_threads(*matches.get_one::("threads").expect("Could not get threads")).build_global().unwrap(); - let matches: Vec = schematics.par_iter().progress_with_style(ProgressStyle::default_bar()).map(|schem| { + let matches: Vec = schematics.par_iter().progress_with_style(ProgressStyle::with_template("[{elapsed}, ETA: {eta}] {wide_bar} {pos}/{len} {per_sec}").unwrap()).map(|schem| { match schem { SchematicSupplierType::PATH(schem) => { let schematic = match load_schem(&schem.path) {