An open API service indexing awesome lists of open source software.

https://github.com/lostincompilation/consolestyle

Colors and styles for your Terminal - Single header, cross platform, C++
https://github.com/lostincompilation/consolestyle

console-color console-style console-utility cpp cross-platform terminal terminal-colors terminal-style terminal-styling terminal-utility utility

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

```cpp
#include "ConsoleStyle.h"
```

## Available colors and styles
#### Colors
color

#### Styles
style