Skip to content

Colors and styles for your Terminal - Single header, cross platform, C++

License

Notifications You must be signed in to change notification settings

LostInCompilation/ConsoleStyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConsoleStyle - Colors and styles for your Terminal

----WIP----

A single header, easy to use, cross platform C++ library to add color and style attributes to your Terminal using std::cout.

It’s working on Windows, macOS and Linux with all known Terminal application (CMD, bash, sh, zsh, ...).

Features

  • No configuration required. Simply add the color/style to your std::cout statement.
  • Autodetects Terminal capabilities
  • Foreground and background text color
  • Various text stylings like bold, italics, blinking, inverted, ...

Usage

Include the ConsoleStyle.h header. Requires C++20.

#include "ConsoleStyle.h"

Available colors and styles

Colors

color

Styles

style