termcolor
termcolor copied to clipboard
Termcolor is a header-only C++ library for printing colored messages to the terminal. Written just for fun with a help of the Force.
on windows, the library performs very well but if you try to use it in a MSYS or MinGW shell it prints out unescaped data and does Not color it....
The README explains how to use this library with C++ streams. But - what about other ways of printing output? e.g. `std::format`, or in the other extreme, raw file descriptors?...
Hey! We're using termcolor at tipi both in our product and for examples on our website. We just wanted to contribute a small-*ish* PR to the project to show how...
If termcolor is used as a subproject (e.g. via cpm package manager or via fetch_content()) the install calls should be hidden. This can be achieved by guarding the calls with:...
I guess it will be good if you create same test for wcout, wcerr, wclog
It could be good to add a pkg-config file and include it in other integrations. I honestly haven't written one before, but I think it would be something like this....
Hi, it would be useful if the is_colorized function would be exposed outside the implementation detail namespace. That way I can know if it's safe to colorize into a transitory...
I'm using this library very successfully on Linux and Windows Powershell, but a lot of people use Gitbash on Windows. I'd love to get this working with Gitbash. Can it...
Hi! Is it possible to use the library with Qt's [qInfo()](https://doc.qt.io/qt-5/qtglobal.html#qInfo), [qDebug()](https://doc.qt.io/qt-5/qtglobal.html#qDebug) and[ qCritical()](https://doc.qt.io/qt-5/qtglobal.html#qCritical)? They have similar to iostream syntax.