mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 04:37:26 -05:00
disable FM_banner
disable FM_banner on ncurses terminal, still can't figure out ncursesw support in cmake
This commit is contained in:
@@ -104,7 +104,7 @@ char * getTimeN(void) //get pretty hh:mm:ss timestamp
|
|||||||
void ncursesOpen ()
|
void ncursesOpen ()
|
||||||
{
|
{
|
||||||
mbe_printVersion (versionstr);
|
mbe_printVersion (versionstr);
|
||||||
setlocale(LC_ALL, "");
|
//setlocale(LC_ALL, "");
|
||||||
initscr(); //Initialize NCURSES screen window
|
initscr(); //Initialize NCURSES screen window
|
||||||
start_color();
|
start_color();
|
||||||
init_pair(1, COLOR_YELLOW, COLOR_BLACK); //Yellow/Amber for frame sync/control channel, NV style
|
init_pair(1, COLOR_YELLOW, COLOR_BLACK); //Yellow/Amber for frame sync/control channel, NV style
|
||||||
@@ -132,15 +132,15 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
level = 0; //start each cycle with 0
|
level = 0; //start each cycle with 0
|
||||||
erase();
|
erase();
|
||||||
//disabling until wide support can be built for LM, etc. $(ncursesw5-config --cflags --libs)
|
//disabling until wide support can be built for LM, etc. $(ncursesw5-config --cflags --libs)
|
||||||
printw ("%s \n", FM_bannerN[0]); //top line in white
|
//printw ("%s \n", FM_bannerN[0]); //top line in white
|
||||||
attron(COLOR_PAIR(4));
|
attron(COLOR_PAIR(4));
|
||||||
for (short int i = 1; i < 7; i++) //following lines in cyan
|
//for (short int i = 1; i < 7; i++) //following lines in cyan
|
||||||
{
|
//{
|
||||||
printw("%s \n", FM_bannerN[i]);
|
//printw("%s \n", FM_bannerN[i]);
|
||||||
}
|
//}
|
||||||
attroff(COLOR_PAIR(4));
|
attroff(COLOR_PAIR(4));
|
||||||
printw ("--Build Info------------------------------------------------------------------\n");
|
printw ("--Build Info------------------------------------------------------------------\n");
|
||||||
printw ("| %s \n", FM_bannerN[7]); //http link
|
//printw ("| %s \n", FM_bannerN[7]); //http link
|
||||||
printw ("| Digital Speech Decoder: Florida Man Edition\n");
|
printw ("| Digital Speech Decoder: Florida Man Edition\n");
|
||||||
printw ("| Github Build Version: %s \n", GIT_TAG);
|
printw ("| Github Build Version: %s \n", GIT_TAG);
|
||||||
printw ("| mbelib version %s\n", versionstr);
|
printw ("| mbelib version %s\n", versionstr);
|
||||||
|
|||||||
Reference in New Issue
Block a user