]> git.sur5r.net Git - u-boot/commitdiff
buildman: Clean up odd characters on the terminal
authorSimon Glass <sjg@chromium.org>
Tue, 15 Nov 2016 22:32:59 +0000 (15:32 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 2 Dec 2016 17:37:47 +0000 (10:37 -0700)
At present buildman leaves behind a few characters during its progress
updates, which looks odd. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py

index 6905ed94ab4ad21d472353920dc29431ae68412b..236e0617ac42ac6d9d1c7e872fcbe1b606b2e68b 100644 (file)
@@ -443,7 +443,7 @@ class Builder:
 
         name += target
         Print(line + name, newline=False)
-        length = 14 + len(name)
+        length = 16 + len(name)
         self.ClearLine(length)
 
     def _GetOutputDir(self, commit_upto):