From: Ryan Burns Date: Sat, 6 Feb 2021 22:16:55 +0000 (-0800) Subject: alsamixer: use background color instead of COLOR_BLACK X-Git-Tag: v1.2.5~75 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c867aa8a84a7e9fbf7f9547a3462f8521cfc69b0;p=alsa-utils.git 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 --- 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);