GhosttySgrAttributeTag enum

SGR attribute tags.

These values identify the type of an SGR attribute in a tagged union. Use the tag to determine which field in the attribute value union to access.

@ingroup sgr

Inheritance
Available extensions

Values

GHOSTTY_SGR_ATTR_UNSET → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(0)
GHOSTTY_SGR_ATTR_UNKNOWN → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(1)
GHOSTTY_SGR_ATTR_BOLD → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(2)
GHOSTTY_SGR_ATTR_RESET_BOLD → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(3)
GHOSTTY_SGR_ATTR_ITALIC → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(4)
GHOSTTY_SGR_ATTR_RESET_ITALIC → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(5)
GHOSTTY_SGR_ATTR_FAINT → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(6)
GHOSTTY_SGR_ATTR_UNDERLINE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(7)
GHOSTTY_SGR_ATTR_UNDERLINE_COLOR → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(8)
GHOSTTY_SGR_ATTR_UNDERLINE_COLOR_256 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(9)
GHOSTTY_SGR_ATTR_RESET_UNDERLINE_COLOR → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(10)
GHOSTTY_SGR_ATTR_OVERLINE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(11)
GHOSTTY_SGR_ATTR_RESET_OVERLINE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(12)
const GhosttySgrAttributeTag(13)
const GhosttySgrAttributeTag(14)
GHOSTTY_SGR_ATTR_INVERSE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(15)
GHOSTTY_SGR_ATTR_RESET_INVERSE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(16)
GHOSTTY_SGR_ATTR_INVISIBLE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(17)
GHOSTTY_SGR_ATTR_RESET_INVISIBLE → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(18)
GHOSTTY_SGR_ATTR_STRIKETHROUGH → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(19)
GHOSTTY_SGR_ATTR_RESET_STRIKETHROUGH → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(20)
GHOSTTY_SGR_ATTR_DIRECT_COLOR_FG → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(21)
GHOSTTY_SGR_ATTR_DIRECT_COLOR_BG → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(22)
GHOSTTY_SGR_ATTR_BG_8 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(23)
GHOSTTY_SGR_ATTR_FG_8 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(24)
GHOSTTY_SGR_ATTR_RESET_FG → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(25)
GHOSTTY_SGR_ATTR_RESET_BG → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(26)
GHOSTTY_SGR_ATTR_BRIGHT_BG_8 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(27)
GHOSTTY_SGR_ATTR_BRIGHT_FG_8 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(28)
GHOSTTY_SGR_ATTR_BG_256 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(29)
GHOSTTY_SGR_ATTR_FG_256 → const GhosttySgrAttributeTag
const GhosttySgrAttributeTag(30)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) GhosttySgrAttributeTag

Constants

values → const List<GhosttySgrAttributeTag>
A constant List of the values in this enum, in order of their declaration.