A single header, easy to use, cross platform C++ library to add color and style attributes to your Terminal using std::cout
.
It’s working on Windows, macOS and Linux with all known Terminal application (CMD, bash, sh, zsh, ...).
- No configuration required. Simply add the color/style to your
std::cout
statement. - Autodetects Terminal capabilities
- Foreground and background text color
- Various text stylings like bold, italics, blinking, inverted, ...
Include the ConsoleStyle.h
header. Requires C++20.
#include "ConsoleStyle.h"
color
style