-
Notifications
You must be signed in to change notification settings - Fork 237
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
Indicator with set_progress does not display properly (cursor issue?) #86
Comments
This is typically caused by the size of the terminal window being smaller than the total width of the bar (including postfix text). If you set bar width smaller and/or make your window larger, it should display correctly when you rerun the program. |
I will check thanks |
Depends. Calculating the full width of the progress bar = (Prefix text) + (Width of bar) + (Width of time remaining displayed) (Width of postfix text displayed). Some of these are known at compile time and others are calculated as we go (e.g., parameterized postfix text) and one of these displayed elements could bring the total bar width over the available terminal size. In your case, however, I don't understand why the carriage return is correctly working after the first This suggests to me that (if the terminal has enough width), that What terminal are you using? |
I use the macosx terminal (Catalina), as well as vscode embedded terminal (vscode on a mac) |
here is the code for the first 10%
the same for the rest
The text was updated successfully, but these errors were encountered: