7#ifndef GHOSTTY_VT_SGR_H 
    8#define GHOSTTY_VT_SGR_H 
  104  GHOSTTY_SGR_ATTR_UNSET = 0,
 
  105  GHOSTTY_SGR_ATTR_UNKNOWN = 1,
 
  106  GHOSTTY_SGR_ATTR_BOLD = 2,
 
  107  GHOSTTY_SGR_ATTR_RESET_BOLD = 3,
 
  108  GHOSTTY_SGR_ATTR_ITALIC = 4,
 
  109  GHOSTTY_SGR_ATTR_RESET_ITALIC = 5,
 
  110  GHOSTTY_SGR_ATTR_FAINT = 6,
 
  111  GHOSTTY_SGR_ATTR_UNDERLINE = 7,
 
  112  GHOSTTY_SGR_ATTR_RESET_UNDERLINE = 8,
 
  113  GHOSTTY_SGR_ATTR_UNDERLINE_COLOR = 9,
 
  114  GHOSTTY_SGR_ATTR_UNDERLINE_COLOR_256 = 10,
 
  115  GHOSTTY_SGR_ATTR_RESET_UNDERLINE_COLOR = 11,
 
  116  GHOSTTY_SGR_ATTR_OVERLINE = 12,
 
  117  GHOSTTY_SGR_ATTR_RESET_OVERLINE = 13,
 
  118  GHOSTTY_SGR_ATTR_BLINK = 14,
 
  119  GHOSTTY_SGR_ATTR_RESET_BLINK = 15,
 
  120  GHOSTTY_SGR_ATTR_INVERSE = 16,
 
  121  GHOSTTY_SGR_ATTR_RESET_INVERSE = 17,
 
  122  GHOSTTY_SGR_ATTR_INVISIBLE = 18,
 
  123  GHOSTTY_SGR_ATTR_RESET_INVISIBLE = 19,
 
  124  GHOSTTY_SGR_ATTR_STRIKETHROUGH = 20,
 
  125  GHOSTTY_SGR_ATTR_RESET_STRIKETHROUGH = 21,
 
  126  GHOSTTY_SGR_ATTR_DIRECT_COLOR_FG = 22,
 
  127  GHOSTTY_SGR_ATTR_DIRECT_COLOR_BG = 23,
 
  128  GHOSTTY_SGR_ATTR_BG_8 = 24,
 
  129  GHOSTTY_SGR_ATTR_FG_8 = 25,
 
  130  GHOSTTY_SGR_ATTR_RESET_FG = 26,
 
  131  GHOSTTY_SGR_ATTR_RESET_BG = 27,
 
  132  GHOSTTY_SGR_ATTR_BRIGHT_BG_8 = 28,
 
  133  GHOSTTY_SGR_ATTR_BRIGHT_FG_8 = 29,
 
  134  GHOSTTY_SGR_ATTR_BG_256 = 30,
 
  135  GHOSTTY_SGR_ATTR_FG_256 = 31,
 
  144  GHOSTTY_SGR_UNDERLINE_NONE = 0,
 
  145  GHOSTTY_SGR_UNDERLINE_SINGLE = 1,
 
  146  GHOSTTY_SGR_UNDERLINE_DOUBLE = 2,
 
  147  GHOSTTY_SGR_UNDERLINE_CURLY = 3,
 
  148  GHOSTTY_SGR_UNDERLINE_DOTTED = 4,
 
  149  GHOSTTY_SGR_UNDERLINE_DASHED = 5,
 
  161  const uint16_t* full_ptr;
 
  163  const uint16_t* partial_ptr;
 
  189  uint64_t _padding[8];
 
  283                                     const uint16_t* params,
 
  284                                     const char* separators,
 
  316                                const uint16_t** ptr);
 
  332                                   const uint16_t** ptr);
 
GhosttySgrAttributeTag ghostty_sgr_attribute_tag(GhosttySgrAttribute attr)
 
struct GhosttySgrParser * GhosttySgrParser
 
bool ghostty_sgr_next(GhosttySgrParser parser, GhosttySgrAttribute *attr)
 
size_t ghostty_sgr_unknown_full(GhosttySgrUnknown unknown, const uint16_t **ptr)
 
GhosttyResult ghostty_sgr_new(const GhosttyAllocator *allocator, GhosttySgrParser *parser)
 
GhosttyResult ghostty_sgr_set_params(GhosttySgrParser parser, const uint16_t *params, const char *separators, size_t len)
 
void ghostty_sgr_free(GhosttySgrParser parser)
 
uint8_t GhosttyColorPaletteIndex
 
void ghostty_sgr_reset(GhosttySgrParser parser)
 
size_t ghostty_sgr_unknown_partial(GhosttySgrUnknown unknown, const uint16_t **ptr)
 
GhosttySgrAttributeValue * ghostty_sgr_attribute_value(GhosttySgrAttribute *attr)
 
void ghostty_wasm_free_sgr_attribute(GhosttySgrAttribute *attr)
 
GhosttySgrAttribute * ghostty_wasm_alloc_sgr_attribute(void)