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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behaviour with format strings on Windows 10 #6

Open
WonderboyFromMars opened this issue Mar 14, 2016 · 1 comment
Open

Strange behaviour with format strings on Windows 10 #6

WonderboyFromMars opened this issue Mar 14, 2016 · 1 comment

Comments

@WonderboyFromMars
Copy link

I run into problems with some format patterns on a Windows machine. The progress bar doesn't "refresh on the line" (seems the \r is not working). Instead new lines are produced, e.g. something like

[==================================================================>..] 96.67 % [==================================================================>..] 96.89 % [===================================================================>.] 97.11 % [===================================================================>.] 97.33 %

This is reproduceable with the default pattern. Using this pattern [=█.] seems to work. I tried a Mac and everything works fine on that system.

@Fiedzia
Copy link
Owner

Fiedzia commented Mar 15, 2016

Unlike mac and linux, Windows uses \n instead of \r for new line. I'll update code to do so on this platform.

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

No branches or pull requests

2 participants