aiomixer: Honor terminal colors. Looks better in cool-retro-term.
This commit is contained in:
parent
ca7439cb21
commit
5d5b2a5453
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: main.c,v 1.3 2021/07/15 06:57:10 nia Exp $ */
|
/* $NetBSD: main.c,v 1.4 2021/07/18 11:45:31 nia Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2021 The NetBSD Foundation, Inc.
|
* Copyright (c) 2021 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -537,6 +537,7 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
if (has_colors()) {
|
if (has_colors()) {
|
||||||
start_color();
|
start_color();
|
||||||
|
use_default_colors();
|
||||||
init_pair(COLOR_CONTROL_SELECTED, COLOR_BLUE, COLOR_BLACK);
|
init_pair(COLOR_CONTROL_SELECTED, COLOR_BLUE, COLOR_BLACK);
|
||||||
init_pair(COLOR_LEVELS, COLOR_GREEN, COLOR_BLACK);
|
init_pair(COLOR_LEVELS, COLOR_GREEN, COLOR_BLACK);
|
||||||
init_pair(COLOR_SET_SELECTED, COLOR_BLACK, COLOR_GREEN);
|
init_pair(COLOR_SET_SELECTED, COLOR_BLACK, COLOR_GREEN);
|
||||||
|
|
Loading…
Reference in New Issue