[PATCH v2 05/30] u_boot_pylib: Improve ANSI-colour output with backgrounds
Simon Glass
sjg at chromium.org
Fri May 23 15:19:21 CEST 2025
The current implementation does not handle background colours very well:
- It outputs an incorrect code in some cases, leading to wrong colours
- Some functions lack a control for the background
Tidy this up so that background colours can be used in more places.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
tools/u_boot_pylib/terminal.py | 38 ++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 15 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list