Improve progress alignment #10940
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
First of all, thanks to all contributors, your work is much appreciated!
The right aligned percent progress looks great in the terminal, but sometimes the nice alignment is marred by verbose (
-vv
+) output.Here is an example of the current alignment:
I was thinking that it would be nice to keep the percentages aligned even for multiline output. It struck me that this could be done by always padding to the rounded up next multiple of terminal width. I think this would make the output in these situations look much nicer.
Here is an example of how the output could be improved:
I wrote a function using python's built-in text wrap module that should be easy to drop in to accomplish this, along with a test.
If this approach is acceptable, I can submit a PR.
The text was updated successfully, but these errors were encountered: