Skip to content

Commit

Permalink
Switch to wide_bar which fills the available space
Browse files Browse the repository at this point in the history
Don't want visual glitches
  • Loading branch information
faassen committed Oct 20, 2022
1 parent b971c9b commit 8fbb263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async fn add(api: &impl Api, path: &Path, no_wrap: bool, recursive: bool) -> Res

let pb = ProgressBar::new(total_size);
pb.set_style(ProgressStyle::with_template(
"[{elapsed_precise}] {bar:20} {bytes}/{total_bytes} ({bytes_per_sec}) {msg}",
"[{elapsed_precise}] {wide_bar} {bytes}/{total_bytes} ({bytes_per_sec}) {msg}",
)?);
// show the progress bar right away, as `add` takes
// a while before it starts ending progress reports
Expand Down

0 comments on commit 8fbb263

Please sign in to comment.