-
Notifications
You must be signed in to change notification settings - Fork 123
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Single bar duplicates when exactly terminal width #66
Comments
potential dupe of #55 |
While it seems that way on the surface, I think this is a subtle bug, because the bar is being shrunk to fit the terminal width, but still wraps. Looks like the final size needs to be one or two characters shorter. |
Can you please check master branch? Should be fixed. |
@vbauerster Looks good over here with the master branch. Thanks so much for your time and effort on this. |
Thank you for reporting as well. I'll bump version soon. |
Running the IO example given here https://github.com/vbauerster/mpb/blob/master/_examples/io/main.go with some modifications to prepend a long name, I have reproduced an issue I'm having where bars get duplicated once they reach the edge of the terminal window.
Actual code
The bar is clearly flexing to fill available space, but is still one character too long, it seems. Shorter names do not produce this issue.
OS: Windows 10
The text was updated successfully, but these errors were encountered: