[PATCH v2 14/28] patman: Support limiting output to a single line

sjg at google.com sjg at google.com
Sat Apr 18 01:29:35 CEST 2020

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

Signed-off-by: Simon Glass <sjg at chromium.org>

Changes in v2: None

 tools/patman/terminal.py | 58 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 57 insertions(+), 1 deletion(-)

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list