Skip to content

Commit

Permalink
styling the progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed May 26, 2024
1 parent 6edc0ed commit 4526daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn make_progress_bar(size: u64, target: ProgressDrawTarget) -> ProgressBar {

bar.set_style(
ProgressStyle::with_template(
"{bar:40} {bytes}/{total_bytes} {elapsed_precise} ({bytes_per_sec}, {eta})",
"{elapsed_precise:.white.dim} {wide_bar:.cyan} {bytes}/{total_bytes} ({bytes_per_sec}, {eta})",
)
.unwrap()
.progress_chars("█▉▊▋▌▍▎▏ "),
Expand Down

0 comments on commit 4526daa

Please sign in to comment.