Skip to main content

Module CellData

Module CellData 

Source

Constants§

CODEPOINT
The codepoint of the cell (0 if empty or bg-color-only).
COLOR_PALETTE
The palette index for the cell’s background color. Only valid when content_tag is GHOSTTY_CELL_CONTENT_BG_COLOR_PALETTE.
COLOR_RGB
The RGB value for the cell’s background color. Only valid when content_tag is GHOSTTY_CELL_CONTENT_BG_COLOR_RGB.
CONTENT_TAG
The content tag describing what kind of content is in the cell.
HAS_HYPERLINK
Whether the cell has a hyperlink.
HAS_STYLING
Whether the cell has non-default styling.
HAS_TEXT
Whether the cell has text to render.
INVALID
Invalid data type. Never results in any data extraction.
MAX_VALUE
The RGB value for the cell’s background color. Only valid when content_tag is GHOSTTY_CELL_CONTENT_BG_COLOR_RGB.
PROTECTED
Whether the cell is protected.
SEMANTIC_CONTENT
The semantic content type of the cell (from OSC 133).
STYLE_ID
The style ID for the cell (for use with style lookups).
WIDE
The wide property of the cell.

Type Aliases§

Type
Cell data types.