Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/aiomixer aiomixer: Honor terminal colors. Looks bett...
details: https://anonhg.NetBSD.org/src/rev/d26e4fd86b79
branches: trunk
changeset: 984707:d26e4fd86b79
user: nia <nia%NetBSD.org@localhost>
date: Sun Jul 18 11:45:31 2021 +0000
description:
aiomixer: Honor terminal colors. Looks better in cool-retro-term.
diffstat:
usr.bin/aiomixer/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 639a32c1f14a -r d26e4fd86b79 usr.bin/aiomixer/main.c
--- a/usr.bin/aiomixer/main.c Sun Jul 18 09:30:36 2021 +0000
+++ b/usr.bin/aiomixer/main.c Sun Jul 18 11:45:31 2021 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index