From e4b26755ea5169d1e0e1a9c5e65364d2b57f3819 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Tue, 4 Apr 2023 17:34:12 +0200 Subject: [PATCH] Revert "Print Progressbar to stdout" This reverts commit 5607dcc72c98f12b0ea0692cb076e19d4b91d49e. --- 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 e63f62b..f17f263 100644 --- a/schemsearch-cli/src/main.rs +++ b/schemsearch-cli/src/main.rs @@ -248,7 +248,7 @@ fn main() { let bar = ProgressBar::new(schematics.len() as u64); bar.set_style(ProgressStyle::with_template("[{elapsed}, ETA: {eta}] {wide_bar} {pos}/{len} {per_sec}").unwrap()); - bar.set_draw_target(ProgressDrawTarget::stdout_with_hz(5)); + bar.set_draw_target(ProgressDrawTarget::stderr_with_hz(5)); let matches: Vec = schematics.par_iter().progress_with(bar).map(|schem| { match schem {