curses changes to existing files

This commit is contained in:
nhmall
2018-11-16 20:51:22 -05:00
parent 20018c2719
commit cb43061076
18 changed files with 345 additions and 42 deletions
+7
View File
@@ -1271,6 +1271,13 @@ int color;
if (windowprocs.name != NULL && !strcmpi(windowprocs.name, "Qt"))
return 1;
#endif
#ifdef CURSES_GRAPHICS
/* XXX has_color() should be added to windowprocs */
/* iflags.wc_color is set to false and the option disabled if the
terminal cannot display color */
if (windowprocs.name != NULL && !strcmpi(windowprocs.name, "curses"))
return iflags.wc_color;
#endif
#ifdef AMII_GRAPHICS
/* hilites[] not used */
return iflags.use_color ? 1 : 0;