Termcolor is a header-only C++ library for printing colored messages to the terminal. Written just for fun with a help of the Force.
C++ CMake
Latest commit cd418b0 Aug 22, 2016 @ikalnytskyi committed on GitHub Merge pull request #13 from mashumafi/master
making windows functions inline
Permalink
Failed to load latest commit information.
docs Update supported terminals notice Jun 26, 2016
include/termcolor making windows functions inline Aug 22, 2016
test Moved __STRICT_ANSI__ workaround from termcolor.hpp to a more appropr… Feb 26, 2016
.gitignore Add a simple docs. Dec 28, 2013
.travis.yml Add Travis CI that ensures compilation success Jun 26, 2016
CMakeLists.txt
LICENSE Initial commit. Dec 27, 2013
README

README

                          //  termcolor  //

               a library for printing colored messages

                          by Igor Kalnitsky


    ~ What is termcolor?

      Termcolor is a header-only C++ library for printing colored
      messages to the terminal. Written just for fun with a help of
      the Force.

      And yeah, it's BSD licensed so you are free to do whatever you
      want as long as copyright sticks around!


    ~ How to use?

      Add `termcolor.hpp` to the project and use provided stream
      manimulators from the `termcolor` namespace.

      For example:

          std::cout << termcolor::red << termcolor::on_blue
                    << "Red text on blue background!"
                    << termcolor::reset << std::endl;

      Please, don't forgot to reset termcolor's settings on the stream!


    ~ What terminals are supported?

      Termcolor supports ANSI color formatting. This formatting is
      supported by most popular terminals on Linux, Unix and Mac OS.
      On Windows, WinAPI is used instead, however, some limitations
      are applied. Check the docs for details!


    ~ Where the docs?

      https://termcolor.readthedocs.io/