Skip to content

nickdesaulniers/colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Colors A C++ library for inserting ANSI color code escape sequences in a string to be printed to a terminal.

##Build Colors is meant to be built as a static library.

mkdir build
cd build
cmake ..
make

##Usage

#include "colors.h"
std::string first = colors::fg::red("Nick");
std::string last = colors::bg::blue("Desaulniers");
std::cout << colors::style::bold(first + last) << std::endl;

See include/colors.h for all colors/functions.

About

C++ color module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages