Skip to content

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

License

Notifications You must be signed in to change notification settings

wvenialbo/termcolor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.7%
  • CMake 8.3%