r disable color mode using the -c and -b flag respectively.

If the program is compiled with the Slang screen manager instead of ncurses, it will also check the variable COLORTERM,