libghostty
Loading...
Searching...
No Matches
GhosttySgrAttribute Struct Reference

#include <ghostty/vt/sgr.h>

Detailed Description

SGR attribute (tagged union).

A complete SGR attribute with both its type tag and associated value. Always check the tag field to determine which value union member is valid.

Attributes without associated data (e.g., GHOSTTY_SGR_ATTR_BOLD) can be identified by tag alone; the value union is not used for these and the memory in the value field is undefined.

Examples
c-vt-sgr/src/main.c.

Definition at line 204 of file sgr.h.


The documentation for this struct was generated from the following file: