From 0a671fcddd10d78485d169d5944d17f1ff4bc29f Mon Sep 17 00:00:00 2001 From: karlstav Date: Wed, 9 Nov 2016 20:17:14 +0100 Subject: [PATCH] commented out undefined function --- example_files/config | 3 ++- output/terminal_ncurses.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/example_files/config b/example_files/config index ab0f1a2..0bd18b7 100644 --- a/example_files/config +++ b/example_files/config @@ -92,7 +92,8 @@ [color] -# supported colors are: red, green, yellow, magenta, cyan, white, blue, black. +# colors can one of seven predefined: red, green, yellow, magenta, cyan, white, blue, black. +# or defined by html code '#xxxxxx' (html code must be within '') ; background = black ; foreground = cyan diff --git a/output/terminal_ncurses.c b/output/terminal_ncurses.c index 69ba99f..aa63f65 100644 --- a/output/terminal_ncurses.c +++ b/output/terminal_ncurses.c @@ -18,9 +18,9 @@ struct cols { struct cols parse_color(char *col) { struct cols ret; int has_colors = 0; - if (has_colors() == TRUE) { + //if (has_colors() == TRUE) { has_colors = 1; - } + //} // Only use the hexvalues if we are certain that the terminal // supports color redefinition, otherwise use default colours. if (col[0] == '#' && has_colors == 1) {