From patchwork Thu Apr 9 21:08:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237598 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Thu, 9 Apr 2020 15:08:46 -0600 Subject: [PATCH v2 19/28] buildman: Limit the length of progress messages In-Reply-To: <20200409210856.160952-1-sjg@chromium.org> References: <20200409210856.160952-1-sjg@chromium.org> Message-ID: <20200409150840.v2.19.I8eddf71be429d9f2fb7ce2143092623d29898aaa@changeid> 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 Signed-off-by: Simon Glass --- 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