diff options
| author | Rob Clark <[email protected]> | 2017-10-10 08:23:01 -0400 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2017-10-12 17:24:25 +0200 |
| commit | 2d5dc2a52d412964031c9920d354ad5bdc91c654 (patch) | |
| tree | d1d7bb7121e191a74b245fba924410a17e9e4510 /cmd | |
| parent | bf19273e81eb5e23c9bc14c3881f92a120565561 (diff) | |
efi_loader: console support for color attributes
Shell.efi uses this, and supporting color attributes makes things look
nicer. Map the EFI fg/bg color attributes to ANSI escape sequences.
Not all colors have a perfect match, but spec just says "Devices
supporting a different number of text colors are required to emulate the
above colors to the best of the device’s capabilities".
Signed-off-by: Rob Clark <[email protected]>
Tested-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Alexander Graf <[email protected]>
[agraf: s/unsigned/unsigned int/]
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
