From 9c2f7f7c65cac5d355b71e029fdb058108ca9359 Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Tue, 20 Aug 2024 11:31:36 +0200 Subject: [PATCH] Progress bar style chars update --- src/commands/copy_command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/copy_command.rs b/src/commands/copy_command.rs index 9b72845..9d5d180 100644 --- a/src/commands/copy_command.rs +++ b/src/commands/copy_command.rs @@ -64,9 +64,9 @@ pub async fn command_copy( let bar = ProgressBar::new(1); bar.set_style( ProgressStyle::with_template( - "{spinner:.green} [{elapsed_precise}] [{wide_bar:.green/dim.blue}] {pos:>3}/{len:3}", + "{spinner:.green} [{elapsed_precise}] [{wide_bar:.green/237}] {pos:>3}/{len:3}", )? - .progress_chars("━>━"), + .progress_chars("━>─"), ); bar.enable_steady_tick(Duration::from_millis(100)); let app_reporter = AppReporter::from(&bar);