Namespace containing text styling escape sequences. More...
Variables | |
| constexpr std::string_view | bold = "\033[1m" |
| Make text appear bold/bright. | |
| constexpr std::string_view | dim = "\033[2m" |
| Reduce text intensity (dim/faint). | |
| constexpr std::string_view | italic = "\033[3m" |
| Display text in italic style. | |
| constexpr std::string_view | underline = "\033[4m" |
| Underline text. | |
| constexpr std::string_view | blink = "\033[5m" |
| Make text blink (if supported by terminal). | |
| constexpr std::string_view | reverse = "\033[7m" |
| Reverse video: swap foreground and background colors. | |
| constexpr std::string_view | hidden = "\033[8m" |
| Conceal text (useful for passwords). | |
| constexpr std::string_view | strikethrough = "\033[9m" |
| Cross out / strike through text. | |
Namespace containing text styling escape sequences.
Provides ANSI escape codes for text formatting options such as bold, dim, italic, underline, and other text decorations.
|
constexpr |
Make text blink (if supported by terminal).
Definition at line 48 of file constants.hpp.
|
constexpr |
Make text appear bold/bright.
Definition at line 40 of file constants.hpp.
|
constexpr |
Reduce text intensity (dim/faint).
Definition at line 42 of file constants.hpp.
Referenced by init_logging().
|
constexpr |
Conceal text (useful for passwords).
Definition at line 52 of file constants.hpp.
|
constexpr |
Display text in italic style.
Definition at line 44 of file constants.hpp.
|
constexpr |
Reverse video: swap foreground and background colors.
Definition at line 50 of file constants.hpp.
|
constexpr |
Cross out / strike through text.
Definition at line 54 of file constants.hpp.
|
constexpr |
Underline text.
Definition at line 46 of file constants.hpp.