mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
cmd: ufetch: use 3-bit colour ANSI codes
Currently, the 8-bit escapes are being used, which aren't supported by vidconsole_escape_char. Since the current usage maps directly to the 3-bit equivalents anyway, let's use those instead. With this change, the fetch output looks as fetching in the vidconsole as it does over serial! Signed-off-by: Sam Day <me@samcday.com> Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org> Tested-by: Ferass El Hafidi <funderscore@postmarketos.org>
This commit is contained in:
parent
554562f7b5
commit
6267ce5565
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@
|
|||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#define LINE_WIDTH 40
|
||||
#define BLUE "\033[38;5;4m"
|
||||
#define YELLOW "\033[38;5;11m"
|
||||
#define BLUE "\033[34m"
|
||||
#define YELLOW "\033[33m"
|
||||
#define BOLD "\033[1m"
|
||||
#define RESET "\033[0m"
|
||||
static const char * const logo_lines[] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue