From: Simon Glass Date: Thu, 9 Apr 2020 21:08:46 +0000 (-0600) Subject: buildman: Limit the length of progress messages X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=95ed0a2dbff502ac40ce0585c6549731c09a8c43;p=u-boot.git 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 --- 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