Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

‘percent_precise’ do not work #633

Open
JHwarlock opened this issue Feb 17, 2024 · 4 comments
Open

‘percent_precise’ do not work #633

JHwarlock opened this issue Feb 17, 2024 · 4 comments

Comments

@JHwarlock
Copy link

let style = ProgressStyle::with_template(
"[{elapsed_precise:.6}] |{bar:40.cyan/blue}| {eta_precise:.1} {percent_precise}% {msg}" // {percent_precise:3.0}
)
.unwrap()
.progress_chars("#>-");

code changed to "percent_precise:3" or "percent_precise:.3", no percent data displayed in progress bar

@djc
Copy link
Member

djc commented Feb 17, 2024

So you mean that the percent_precise precision cannot be modified?

@JHwarlock
Copy link
Author

yes

@djc
Copy link
Member

djc commented Mar 4, 2024

That just hasn't been implemented. I'm open to reviewing a PR for this but probably won't get to it myself.

@JHwarlock
Copy link
Author

Thanks a lot

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants