
18 Apr
2020
18 Apr
'20
1:29 a.m.
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 ---
Changes in v2: None
tools/patman/patman.py | 2 +- tools/patman/terminal.py | 47 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!