Header-only C++ library for printing colored terminal messages
Header-only C++ library for printing colored messages
termcolor$ #include <termcolor/termcolor.hpp>
std::cout << termcolor::red << "Error!" << termcolor::reset << std::endl;$ find_package(termcolor REQUIRED)
target_link_libraries(myapp termcolor::termcolor)$ std::cout << termcolor::on_yellow << termcolor::bold << "Warning" << termcolor::reset << std::endl;