TextStyle.h file
Terminal text color and style types.
Namespaces
- namespace slang
- Root namespace.
Classes
- class slang::TextColor
- A color used for styling terminal text.
- class slang::TextStyle
- Describes the styling (foreground color, background color, and emphasis) to apply to a run of terminal text.
Enums
- enum class TerminalColor { Black, Red, Green, Yellow, Blue, Magenta, Cyan, White, BrightBlack, BrightRed, BrightGreen, BrightYellow, BrightBlue, BrightMagenta, BrightCyan, BrightWhite }
- The set of standard ANSI terminal colors.
- enum class TextEmphasis: uint8_t { None = 0, Bold = 1 << 0, Faint = 1 << 1, Italic = 1 << 2, Underline = 1 << 3, Blink = 1 << 4, Reverse = 1 << 5, Conceal = 1 << 6, Strikethrough = 1 << 7 }
- Flags that control text emphasis (font styling) when printed to a terminal.