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
Significant number of spaces are present at end of progress related lines based on terminal width.
While using uuu in non-terminal environment, 80k+ spaces are printed for each lines while using redirection.
This issue cause uuu producing significant amount of logs in LAVA test framework.
Expected Behavior
Standard output should minimize the number of trailing spaces caused by progress bars.
Current Behavior
Strings used for logging purposes are initialized with spaces based on terminal size.
For each progress steps spaces are printed on standard output to flush previous result.
Possible Solution
Printing spaces only to remove previous line (based on actual size)
Significant number of spaces are present at end of progress related lines based on terminal width.
While using
uuu
in non-terminal environment, 80k+ spaces are printed for each lines while using redirection.This issue cause
uuu
producing significant amount of logs in LAVA test framework.Expected Behavior
Standard output should minimize the number of trailing spaces caused by progress bars.
Current Behavior
Strings used for logging purposes are initialized with spaces based on terminal size.
For each progress steps spaces are printed on standard output to flush previous result.
Possible Solution
Steps to Reproduce
uuu -b sd <image> | tee output.txt
Example output: Spaces replaces with dots
Context (Environment)
uuu
used outside of a terminal context, running through python.subprocess module (linux).The text was updated successfully, but these errors were encountered: