-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Nested + desc = buggy PyCharm output #203
Comments
@lrq3000 This is not limited to PyCharm. This happens everywhere. Occurs in:
Also, if you don't have a It's more important than you think. |
@CrazyPython Can you tell me what platform and what version of Python you are using please? |
As a guess it may be related to not being able to detect the terminal width correctly due to your environment; and the fallback width only works without a "desc". Or... when I try 2 bars with a large window size and then resize to a small window while they're running (or vice versa) the first bar doesn't resize. |
@CrazyPython Could you please try @casperdcl hypothesis please by setting |
@lrq3000 @casperdcl CrazyPython CI has finally finished. Here are the results:
And PyCharm embedded terminal is a simple wrapper over the normal terminal so no point in testing that. * CrazyPython CI has detected an 1 anomaly:
|
presumably same if you set |
This is because PYCHARM does not support the "up" control character, so you
|
can't do anything about pycharm here... if someone want to create a PR which prints a warning for pycharm environments go ahead. |
pycharm support tracked here: https://youtrack.jetbrains.com/issue/PY-6646 |
Tracked here now: https://youtrack.jetbrains.com/issue/PY-33061 |
@jimanvlad Are nested progressbars supposed to work in 2019.3? |
You can use "Emulate terminal in output console" under the Execution/Run&Debug window and set |
Using the
desc=
parameter with nested progress bars (the inner one) corrupts the output and gets you multiple progress bars like this:Only two nested progress bars were used in this example.
Removing
desc
makes it go back to normal.Reported by @CrazyPython in #87.
The text was updated successfully, but these errors were encountered: