1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 17:16:36 +02:00

Let user disable native colours with ./configure

This commit is contained in:
Wesley Merkel
2014-04-05 13:31:53 -06:00
parent 82027a5b4f
commit b9290c8a83
2 changed files with 23 additions and 1 deletions

View File

@ -108,7 +108,7 @@ static void init_term(void)
if (has_colors()) {
short bg_color = COLOR_BLACK;
start_color();
#ifdef NCURSES_EXT_FUNCS
#ifdef TOXIC_NATIVE_COLOURS
if (assume_default_colors(-1,-1) == OK)
bg_color = -1;
#endif