summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-09 15:08:46 -0600
committerSimon Glass <sjg@chromium.org>2020-04-21 06:33:47 -0600
commit95ed0a2dbff502ac40ce0585c6549731c09a8c43 (patch)
tree7617f5474dc6e23ad68f0bebe70045129d0f0308
parent6eb76cac1c7b51c71fe9c669befbc4187f5a8989 (diff)
buildman: Limit the length of progress messages
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>
-rw-r--r--tools/buildman/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index b9caf6cf9c..73753eb4bc 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