Simple and easy-to-use minilibrary for manipulating colors of text and background of output sending to std::cout
Implementation uses WinAPI for Windows and ANSI escape codes for other OSes.
- black
- red
- green
- yellow
- blue
- cyan
- magenta
- white
all with normal and bright/bold intensity
Function brighten sets bold/bright color only for text.
Functions set, color and bgcolor use aixterm codes for setting bright colors, if you want to use standard ANSI bold/bright codes please use brighten function after setting color with intensity parameter set to normal.
- Windows 10 cmd.exe
- Windows 7 cmd.exe
- Windows PowerShell
- msys
- cygwin
- ubuntu 16.04