changed bars ETA to formatted, and added duration

This commit is contained in:
Djkato 2022-05-07 20:46:31 +02:00
parent 5c736d19f5
commit 68ec054ec2

View file

@ -13,7 +13,7 @@ class UI {
this.term = termkit.terminal
this.multibar = new cliProgress.MultiBar({
format: '[{bar}] {percentage}% | output: "{filename}" | ETA: {eta}s | {value}/{total}',
format: '[{bar}] {percentage}% | output: "{filename}" | ETA: {eta_formatted}s | {duration_formatted} | {value}s/{total}s ',
align: "left",
hideCursor: true,
autopadding: true,