Welcome to the new CppUtils documentation!
Functions & utilities
FUNCTIONSNamespace: CppUtils::Terminal::Ansi
Public functions
Section titled “Public functions”Formats an ANSI Select Graphic Rendition (SGR) escape sequence: \x1B[<code\>m.
See also: Select_Graphic_Rendition
| Parameter | Description |
|---|---|
code | The SGR parameter code (e.g. 0 for reset, 1 for bold, 31 for red, “38;2;r;g;b” for truecolor). |
Returns: The formatted ANSI escape string.