1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-30 15:01:27 +02:00

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>
This commit is contained in:
Simon Glass
2020-04-09 15:08:46 -06:00
parent 6eb76cac1c
commit 95ed0a2dbf

View File

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