[PATCH v2 19/28] buildman: Limit the length of progress messages

Simon Glass sjg at chromium.org
Thu Apr 9 23:08:46 CEST 2020


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 at chromium.org>
---

Changes in v2: None

 tools/buildman/builder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index b9caf6cf9c1..73753eb4bc9 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -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
-- 
2.26.0.110.g2183baf09c-goog



More information about the U-Boot mailing list