Module Name: src Committed By: nia Date: Sun Jul 18 11:45:31 UTC 2021
Modified Files: src/usr.bin/aiomixer: main.c Log Message: aiomixer: Honor terminal colors. Looks better in cool-retro-term. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/aiomixer/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/aiomixer/main.c diff -u src/usr.bin/aiomixer/main.c:1.3 src/usr.bin/aiomixer/main.c:1.4 --- src/usr.bin/aiomixer/main.c:1.3 Thu Jul 15 06:57:10 2021 +++ src/usr.bin/aiomixer/main.c Sun Jul 18 11:45:31 2021 @@ -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. * All rights reserved. @@ -537,6 +537,7 @@ main(int argc, char **argv) if (has_colors()) { start_color(); + use_default_colors(); init_pair(COLOR_CONTROL_SELECTED, COLOR_BLUE, COLOR_BLACK); init_pair(COLOR_LEVELS, COLOR_GREEN, COLOR_BLACK); init_pair(COLOR_SET_SELECTED, COLOR_BLACK, COLOR_GREEN);