kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
Public Attributes | List of all members
kaycxx::term::basic_color Struct Reference

Basic terminal palette color. More...

#include <kaycxx/term/basic_color.hpp>

Public Attributes

std::uint8_t index
 ANSI color slot from 0 to 7.
 
bool bright = false
 Whether the bright variant of the color slot should be used.
 

Detailed Description

Basic terminal palette color.

The index is the ANSI color slot from 0 to 7. Bright colors use the same slot together with the bright flag. They are rendered as SGR colors 90 to 97 or 100 to 107.


The documentation for this struct was generated from the following file: