mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
intel/batch_decoder: set foreground color of decoded instructions
It's impossible to see the names of instructions if the terminal's color scheme uses black as foreground. Just set it to white - it will look good on any color scheme. Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10341>
This commit is contained in:
parent
86816f3134
commit
c073648d80
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ intel_batch_decode_ctx_finish(struct intel_batch_decode_ctx *ctx)
|
||||||
|
|
||||||
#define CSI "\e["
|
#define CSI "\e["
|
||||||
#define RED_COLOR CSI "31m"
|
#define RED_COLOR CSI "31m"
|
||||||
#define BLUE_HEADER CSI "0;44m"
|
#define BLUE_HEADER CSI "0;44m" CSI "1;37m"
|
||||||
#define GREEN_HEADER CSI "1;42m"
|
#define GREEN_HEADER CSI "1;42m"
|
||||||
#define NORMAL CSI "0m"
|
#define NORMAL CSI "0m"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue