Function Dune::XT::Common::highlight_string

std::string Dune::XT::Common::highlight_string(std::string str, size_t colornr = 0)

A simple function highlighting a whole string in a specified foreground color.

:param str: The string you want to highlight. :param colornr: A color number from a 256 color map between 0 and 255. :returns: The highlighted string.