enum Attribute
source · line 9public enum Attribute
An SGR rendition attribute or its corresponding reset instruction. Terminal support varies by attribute.
variant NoHidden
source · line 97NoHidden
Reveal concealed text.
variant Framed
source · line 105Framed
Frame the text.
variant Italic
source · line 25Italic
Enable italic presentation.
variant NotCrossedOut
source · line 101NotCrossedOut
Disable strike-through.
variant NormalIntensity
source · line 77NormalIntensity
Restore ordinary intensity, clearing bold/dim.
variant Underdashed
source · line 45Underdashed
Enable a dashed underline.
variant Undercurled
source · line 37Undercurled
Enable a curled underline.
variant RapidBlink
source · line 53RapidBlink
Enable rapid blinking.
variant Reverse
source · line 57Reverse
Swap foreground and background rendition.
variant Bold
source · line 17Bold
Enable bold or increased intensity.
variant CrossedOut
source · line 65CrossedOut
Strike through text.
variant DoubleUnderlined
source · line 33DoubleUnderlined
Enable a double underline.
variant Fraktur
source · line 69Fraktur
Select Fraktur-style presentation.
variant NotFramedOrEncircled
source · line 117NotFramedOrEncircled
Disable framing and encircling.
variant Dim
source · line 21Dim
Enable decreased intensity.
variant NoReverse
source · line 93NoReverse
Disable reversed presentation.
variant Underlined
source · line 29Underlined
Enable a single underline.
variant NoBold
source · line 73NoBold
Disable bold presentation.
variant SlowBlink
source · line 49SlowBlink
Enable slow blinking.
function sgr
source · line 137public fun sgr(): String
Returns the SGR parameter text without CSI prefix or final m.
variant OverLined
source · line 113OverLined
Enable an overline.
variant NoItalic
source · line 81NoItalic
Disable italic presentation.
variant NotOverLined
source · line 121NotOverLined
Disable overlining.
variant Hidden
source · line 61Hidden
Conceal displayed text.
variant Reset
source · line 13Reset
Reset all rendition attributes.
variant Encircled
source · line 109Encircled
Encircle the text.
variant Underdotted
source · line 41Underdotted
Enable a dotted underline.
variant NoUnderline
source · line 85NoUnderline
Disable underlining.
variant NoBlink
source · line 89NoBlink
Disable blinking.
function equals
source · line 9operator fun equals(other: Attribute): Boolean
This derived operation is available when each field or payload type supports same-type equality.