From 7ec0bf83b4e6bb33f7da6ed2ea813fd0cc97b8f1 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 13 May 2023 20:11:39 -0400 Subject: [PATCH] Ncurses No Color Trunking Tweaks; #114 --- src/dsd_ncurses.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/dsd_ncurses.c b/src/dsd_ncurses.c index a4cbd51..22f3820 100644 --- a/src/dsd_ncurses.c +++ b/src/dsd_ncurses.c @@ -2170,6 +2170,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) { printw ("| RIGCTL Remote Control Client Established on Port [%d]\n", opts->rigctlportno); } + #ifdef PRETTY_COLORS if (opts->p25_trunk == 1 && (opts->use_rigctl == 1 || opts->audio_in_type == 3) ) { printw ("| Trunking -"); @@ -2189,6 +2190,23 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) if (opts->trunk_use_allow_list == 1) printw (" - White List Mode\n"); else printw (" - Black List Mode\n"); } + #else //set on to UPPER CASE, off to lower case + if (opts->p25_trunk == 1 && (opts->use_rigctl == 1 || opts->audio_in_type == 3) ) + { + printw ("| Trunking -"); + if (opts->trunk_tune_group_calls == 0) printw (" group(g)"); + else printw (" GROUP(g)"); + if (opts->trunk_tune_private_calls == 0) printw (" private(u)"); + else printw (" PRIVATE(u)"); + if (opts->trunk_tune_data_calls == 0) printw (" data(d)"); + else printw (" DATA(d)"); + if (opts->trunk_tune_enc_calls == 0) printw (" encrypted(e)"); + else printw (" ENCRYPTED(e)"); + printw (" Calls"); + if (opts->trunk_use_allow_list == 1) printw (" - White List Mode\n"); + else printw (" - Black List Mode\n"); + } + #endif if (opts->reverse_mute == 1) { printw ("| Reverse Mute - Muting Unencrypted Voice\n");