]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Support erasing a previously unfinished text line
authorSimon Glass <sjg@chromium.org>
Thu, 9 Apr 2020 21:08:40 +0000 (15:08 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Apr 2020 12:33:47 +0000 (06:33 -0600)
commit37b224f9f136f83f22de9221d48d9a0b1b2c3693
tree018ff9d008f5dcd1149d98994c25cbad3f8a8a79
parenta84eb1617997d71bdec1f4152536bd8ecba82e87
patman: Support erasing a previously unfinished text line

When printing progress it is useful to print a message and leave the
cursor at the end of the line until the operation is finished. When it is
finished, the line needs to be erased so a new line can start in its place.

Add a function to handle clearing a line previously written by
terminal.Print()

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