CellAttributes
Namespace: Hex1b
Assembly: Hex1b.dll
Text styling attributes that can be applied to terminal cells. These correspond to SGR (Select Graphic Rendition) parameters. Multiple attributes can be combined using bitwise OR.
[Flags]
public enum CellAttributes : ushortFields
Blink
Blinking text (SGR 5).
Returns: CellAttributes
Blink = 16Bold
Bold or increased intensity (SGR 1).
Returns: CellAttributes
Bold = 1Dim
Dim or decreased intensity (SGR 2).
Returns: CellAttributes
Dim = 2Hidden
Hidden / invisible text (SGR 8).
Returns: CellAttributes
Hidden = 64Italic
Italic text (SGR 3).
Returns: CellAttributes
Italic = 4None
No attributes applied.
Returns: CellAttributes
None = 0Overline
Overline (SGR 53).
Returns: CellAttributes
Overline = 256Protected
Cell is protected (DECSCA). Protected cells are immune to selective erase operations (DECSED/DECSEL) but can still be erased by normal ED/EL.
Returns: CellAttributes
Protected = 2048Reverse
Reverse video / inverse (SGR 7).
Returns: CellAttributes
Reverse = 32Sixel
Cell contains Sixel graphics data.
Returns: CellAttributes
Sixel = 512SoftWrap
Cell is a soft-wrap point: content continues on the next row without a logical line break. Set on the last cell of a row when the cursor wraps at the right margin. Used by the reflow engine to identify logical lines that span multiple rows.
Returns: CellAttributes
SoftWrap = 1024Strikethrough
Strikethrough / crossed out text (SGR 9).
Returns: CellAttributes
Strikethrough = 128Underline
Underlined text (SGR 4).
Returns: CellAttributes
Underline = 8