|
| enum class | CursorCommand {
MOVE_HOME
, SAVE
, RESTORE
, HIDE
,
SHOW
} |
| | Enumerates different cursor commands. More...
|
| |
| enum class | BufferCommand : char { ENABLE_ALTERNATIVE_BUFFER = 'h'
, DISABLE_ALTERNATIVE_BUFFER = 'l'
} |
| | Enumerates different buffer commands. More...
|
| |
| enum class | EraseCommand {
ERASE_CURSOR_END
, ERASE_CURSOR_BEGIN
, ERASE_SCREEN
, ERASE_LINE
,
ERASE_LINE_CURSOR_END
, ERASE_LINE_CURSOR_BEGIN
} |
| | Enumerates different erase commands. More...
|
| |
| enum class | Style : std::uint8_t {
NONE = 0
, BOLD = 1 << 0
, DIM = 1 << 1
, ITALIC = 1 << 2
,
UNDERLINE = 1 << 3
, BLINK = 1 << 4
, INVERSE = 1 << 5
, HIDDEN = 1 << 6
,
STRIKETHOUGH = 1 << 7
} |
| |
| enum class | ColorSupport { COLOR16
, COLOR256
, TRUE_COLOR
} |
| | Enumerates the levels of color support for the terminal. More...
|
| |
|
| std::ostream & | operator<< (std::ostream &stream, color_bg_t bg) |
| |
| std::ostream & | operator<< (std::ostream &stream, color_fg_t fg) |
| |
| std::ostream & | reset_bg (std::ostream &stream) |
| | Resets background color to default.
|
| |
| std::ostream & | reset_fg (std::ostream &stream) |
| | Resets foreground color to default.
|
| |
| std::ostream & | reset_color (std::ostream &stream) |
| | Resets foreground and background color to default.
|
| |
| std::ostream & | operator<< (std::ostream &stream, cursor_pos pos) |
| |
| std::ostream & | operator<< (std::ostream &stream, cursor_move move) |
| |
| std::ostream & | operator<< (std::ostream &stream, CursorCommand cmd) |
| |
| std::ostream & | operator<< (std::ostream &stream, BufferCommand cmd) |
| |
| std::ostream & | operator<< (std::ostream &stream, EraseCommand cmd) |
| |
| constexpr Style | operator+ (Style a, Style b) |
| |
| constexpr Style | operator- (Style a, Style b) |
| |
| constexpr Style | operator& (Style a, Style b) |
| |
| constexpr bool | style_contains (Style style, Style flags) |
| | Checks if a text style contains certain flags.
|
| |
| std::ostream & | operator<< (std::ostream &stream, Style style) |
| |
| std::ostream & | reset_all (std::ostream &stream) |
| | Resets all text styles and colors to default.
|
| |