From c867aa8a84a7e9fbf7f9547a3462f8521cfc69b0 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sat, 6 Feb 2021 14:16:55 -0800 Subject: [PATCH] alsamixer: use background color instead of COLOR_BLACK BugLink: https://github.com/alsa-project/alsa-utils/pull/77 Signed-off-by: Ryan Burns Signed-off-by: Jaroslav Kysela --- alsamixer/colors.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alsamixer/colors.c b/alsamixer/colors.c index 1a8cb8f..c81ebcf 100644 --- a/alsamixer/colors.c +++ b/alsamixer/colors.c @@ -50,11 +50,11 @@ void init_colors(int use_color) start_color(); use_default_colors(); - get_color_pair(COLOR_CYAN, COLOR_BLACK); // COLOR_PAIR(1) - get_color_pair(COLOR_YELLOW, COLOR_BLACK); + get_color_pair(COLOR_CYAN, -1); // COLOR_PAIR(1) + get_color_pair(COLOR_YELLOW, -1); get_color_pair(COLOR_WHITE, COLOR_GREEN); - get_color_pair(COLOR_RED, COLOR_BLACK); - get_color_pair(COLOR_WHITE, COLOR_BLACK); + get_color_pair(COLOR_RED, -1); + get_color_pair(COLOR_WHITE, -1); get_color_pair(COLOR_WHITE, COLOR_BLUE); get_color_pair(COLOR_RED, COLOR_BLUE); get_color_pair(COLOR_GREEN, COLOR_GREEN);