From c073648d80e3fd079da69439303b85a89a00d696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= Date: Tue, 20 Apr 2021 10:42:18 +0200 Subject: [PATCH] intel/batch_decoder: set foreground color of decoded instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Lionel Landwerlin Part-of: --- src/intel/common/intel_batch_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/common/intel_batch_decoder.c b/src/intel/common/intel_batch_decoder.c index 9d923c2a9a8..43d33b226db 100644 --- a/src/intel/common/intel_batch_decoder.c +++ b/src/intel/common/intel_batch_decoder.c @@ -65,7 +65,7 @@ intel_batch_decode_ctx_finish(struct intel_batch_decode_ctx *ctx) #define CSI "\e[" #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 NORMAL CSI "0m"