Skip to main content

Module style

Module style 

Source
Expand description

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.

Structs§

Id
Style identifier type.
Palette
A 256-color palette.
PaletteIndex
Palette color index (0-255).
PaletteMask
A 256-bit mask of palette indices.
RgbColor
RGB color value.
Style
Terminal cell style attributes.
X11ColorName
An entry in Ghostty’s X11 color name table.
X11ColorNames
Ghostty’s X11 color name table.
X11ColorNamesIter
Iterator over Ghostty’s X11 color name table.

Enums§

StyleColor
A color used in a style attribute.
Underline
Underline style types.