Main: Add percent to progress bar
This commit is contained in:
parent
24398c0994
commit
1e88c1cca8
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ fn run() -> Result<()> {
|
|||
let progress_bar = ProgressBar::new(hashed_files.len() as u64)
|
||||
.with_finish(ProgressFinish::AndLeave)
|
||||
.with_style(ProgressStyle::default_bar()
|
||||
.template("Hashing files... {bar} {pos:>7}/{len:7} [{elapsed_precise}]").unwrap());
|
||||
.template("Hashing files... {bar} {percent_precise}% {pos:>7}/{len:7} [{elapsed_precise}]").unwrap());
|
||||
|
||||
let throughput_spinner = ProgressBar::new_spinner()
|
||||
.with_style(ProgressStyle::default_spinner()
|
||||
|
|
Loading…
Reference in a new issue