neoz / 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.

Home Page:http://termcolor.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                          //  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.


    ~ 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.


    ~ Where the docs?

      http://termcolor.readthedocs.org/

About

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

http://termcolor.readthedocs.org/

License:Other


Languages

Language:C++ 91.3%Language:CMake 8.7%