We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello :)
I'm migrating from cliProgress 2.x to 3.0.0 and I'm having an issue.
Here's how I initialized my bar
this.format = `${options.message} [{bar}] {percentage}%`; this.bar = new cliProgress.Bar({ format: this.format, stopOnComplete: true }, cliProgress.Presets.rect);
When I migrated to 3.0.0 I realized my format options was ignored :
■■■■■■■■■■■■■■■ ■ 39% | ETA: 4s | 7472/19357
There was ETA and the value/total displayed.
I tried with other presets but it seems to cause the same issue.
At last I tried without any preset and there my format message was used :
Checking files... [==================----------------------] 44%
So I think using a preset mistakenly overrides the format option.
Am I doing it wrong or is it a bug?
Thanks for the multi bar support, I'll need to think of how to use it properly but it's a neat feature :)
The text was updated successfully, but these errors were encountered:
it's my fault... the options should take precedence over the preset
Sorry, something went wrong.
b08db19
fixed within master branch
Thanks for the quick fix ! I'll have to wait for 3.0.1 to be published on npm I guess :)
the next release will be 3.1.0 including the notty mode
No branches or pull requests
Hello :)
I'm migrating from cliProgress 2.x to 3.0.0 and I'm having an issue.
Here's how I initialized my bar
When I migrated to 3.0.0 I realized my format options was ignored :
There was ETA and the value/total displayed.
I tried with other presets but it seems to cause the same issue.
At last I tried without any preset and there my format message was used :
So I think using a preset mistakenly overrides the format option.
Am I doing it wrong or is it a bug?
Thanks for the multi bar support, I'll need to think of how to use it properly but it's a neat feature :)
The text was updated successfully, but these errors were encountered: