3 Commits

Author SHA1 Message Date
Matthew Woehlke
671fe28313 ccmake: Improve coloring, allow customization
Change the default color for strings from BLUE (which is nearly
illegible on any terminals using the standard color palette which has
been around since at least CGA, almost 40 years ago) to CYAN. Add
ability to customize the colors via an environment variable (inspired by
LS_COLORS and using similar syntax).

Fixes: #20596
2020-04-24 11:21:13 -04:00
Matthew Woehlke
f56a695440 ccmake: Rename cmCursesColor::{Options => Choice}
Rename the internal name for the color applied to multiple-choice
options to avoid use of the overloaded term 'option'.
2020-04-24 09:37:01 -04:00
Sylvain Joubert
93b66735ac ccmake: Use type-based colors to display cache values
The colors are based on the entry type (or value for booleans),
paths and filepaths sharing the same color.
2019-11-04 18:59:20 +01:00