18 , color_result (ansi::Color::
fromString(
"default"))
19 , color_msgStatus (ansi::Color::
fromString(
"default"))
20 , color_msgError (ansi::Color::
fromString(
"red"))
21 , color_msgWarning (ansi::Color::
fromString(
"purple"))
22 , color_prompt (ansi::Color::
fromString(
"bold"))
23 , color_promptOption(ansi::Color::nocolor())
24 , color_positive (ansi::Color::
fromString(
"green"))
25 , color_change (ansi::Color::
fromString(
"brown"))
26 , color_negative (ansi::Color::
fromString(
"red"))
27 , color_highlight (ansi::Color::
fromString(
"cyan"))
28 , color_lowlight (ansi::Color::
fromString(
"brown"))
29 , color_osdebug (ansi::Color::
fromString(
"default") < ansi::Color::Attr::Reverse)
bool do_colors()
If output is done in colors (depends on config)
bool do_ttyout()
True unless output is a dumb tty or file.
bool hasANSIColor()
Simple check whether stdout can handle colors.
bool fromString(const std::string &val_r, ResolverFocus &ret_r)
bool mayUseANSIEscapes()
Simple check whether stdout is a (not dumb) tty.