
18 Apr
2020
18 Apr
'20
1:29 a.m.
When outputing a progress line we don't want it to go past the end of the current terminal line, or it will not be possible to erase it. Add an option to Print() which allows limiting the output to the terminal width.
Since ANSI sequences do not take up space on the terminal, these are removed.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: None
tools/patman/terminal.py | 58 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!