![]() |
libghostty
|
Terminal cell style attributes.
A style describes the visual attributes of a terminal cell, including foreground, background, and underline colors, as well as flags for bold, italic, underline, and other text decorations.
Typedefs | |
| typedef uint16_t | GhosttyStyleId |
Enumerations | |
| enum | GhosttyStyleColorTag |
Functions | |
| void | ghostty_style_default (GhosttyStyle *style) |
| bool | ghostty_style_is_default (const GhosttyStyle *style) |
Data Structures | |
| union | GhosttyStyleColorValue |
| struct | GhosttyStyleColor |
| struct | GhosttyStyle |
| typedef uint16_t GhosttyStyleId |
| enum GhosttyStyleColorTag |
| void ghostty_style_default | ( | GhosttyStyle * | style | ) |
Get the default style.
Initializes the style to the default values (no colors, no flags).
| Style | Pointer to the style to initialize |
| bool ghostty_style_is_default | ( | const GhosttyStyle * | style | ) |
Check if a style is the default style.
Returns true if all colors are unset and all flags are off.
| Style | Pointer to the style to check |