diff options
| author | Sam Day <[email protected]> | 2025-02-03 16:42:20 +0000 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2025-02-26 13:48:27 +0000 |
| commit | 6267ce556595e0586aee3a7d63042d105dc3fa4e (patch) | |
| tree | 8656574b08e9579d4cc76a714a6a7e328d1723a5 /cmd | |
| parent | 554562f7b50d780eea64763d444b6ddd2c216072 (diff) | |
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 <[email protected]>
Tested-by: Alexey Minnekhanov <[email protected]>
Tested-by: Ferass El Hafidi <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ufetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ufetch.c b/cmd/ufetch.c index ed5a856c7ab..46bd16824e6 100644 --- a/cmd/ufetch.c +++ b/cmd/ufetch.c @@ -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[] = { |
