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++
- Host: GitHub
- URL: https://github.com/lostincompilation/consolestyle
- Owner: LostInCompilation
- License: zlib
- Created: 2023-01-25T15:07:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T22:55:37.000Z (over 2 years ago)
- Last Synced: 2025-04-12T22:56:47.389Z (about 2 months ago)
- Topics: console-color, console-style, console-utility, cpp, cross-platform, terminal, terminal-colors, terminal-style, terminal-styling, terminal-utility, utility
- Language: C++
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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