14 #ifndef ZYPP_TUI_UTILS_COLORS_H_ 15 #define ZYPP_TUI_UTILS_COLORS_H_ 65 template <ColorContext _ctxt>
73 template <ColorContext _ctxt>
74 inline ansi::ColorStream & operator<<( ansi::ColorStream & cstr_r, const CCString<_ctxt> & cstring_r )
75 {
return cstr_r << static_cast<const ColorString &>(cstring_r); }
Colored string if do_colors.
ansi::Color customColorCtor(ColorContext ctxt_r)
bool do_colors()
If output is done in colors (depends on config)
CCString(std::string &&str_r)
bool do_ttyout()
True unless output is a dumb tty or file.
Colored stream output if do_colors.
CCString(const std::string &str_r)