Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

using wide unicode characters in progress_chars results in a too wide bar being drawn #455

Closed
whirm opened this issue Aug 1, 2022 · 1 comment 路 Fixed by #456
Closed

Comments

@whirm
Copy link

whirm commented Aug 1, 2022

I've just upgraded my project to 0.17.0 from 0.16.2 and I've noticed that a bar that's using

    template.progress_chars("馃攼馃攽馃晸");

now draws incorrectly:

image

With 0.16.2 it worked just fine:

image

line on my Cargo.toml:

indicatif = { version = "0.17.0", features = ["improved_unicode", "tokio"] }

Thanks for this project!

@whirm whirm changed the title using unicode characters in progress_chars results in a too wide bar being drawn using wide unicode characters in progress_chars results in a too wide bar being drawn Aug 1, 2022
@djc
Copy link
Collaborator

djc commented Aug 2, 2022

Oops, sorry about that! Looks like I made a typo while refactoring in d7851c7, fix submitted in #456.

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

Successfully merging a pull request may close this issue.

2 participants