You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ProgressBarOrSpinner - spinner creates newlines in terminal when msg is longer then terminal width #11556
astropy.utils.console.ProgressBarOrSpinner is used to create a Spinner with a message, where the message is longer then the width of the terminal e.g.
I set xterm to width 80 and run the following python script
The line is printed only once (wrapped around the terminal edges) and the spinner is rotating.
Actual behavior
Every spinner update spans a new line.
The behaviour was also reported during a discussion in an astroquery bug (in this particular case the lines will be very long and a Spinner is displayed as the archive from which the files are fetched are of unknown size): astropy/astroquery#1357 (comment)
Activity