]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Limit the length of progress messages
authorSimon Glass <sjg@chromium.org>
Thu, 9 Apr 2020 21:08:46 +0000 (15:08 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Apr 2020 12:33:47 +0000 (06:33 -0600)
If a progress message is longer than the terminal line it will scroll the
terminal. Limit the messages to the terminal width.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py

index b9caf6cf9c164ba3da1b288364be9d4bda74dca8..73753eb4bc990f8d0bfc5d4af6449b48d42db714 100644 (file)
@@ -458,7 +458,7 @@ class Builder:
 
         line += target
         terminal.PrintClear()
-        Print(line, newline=False)
+        Print(line, newline=False, limit_to_line=True)
 
     def _GetOutputDir(self, commit_upto):
         """Get the name of the output directory for a commit number