Cell

Cell represents the contents of a single character cell on screen, or in some cases two adjacent cells. Terminals are expected to have a uniform display width for each cell, and to have a fixed number of cell columsn and rows. (We assume fixed pitch fonts.) The occasion when a double wide character is present occurs for certain East Asian characters that require twice as much horizontal space to display as others. (This can also occur with some emoji.)

Constructors

this
this(C c, Style st, int w)
Undocumented in source.
this
this(S s, Style st, int w)
Undocumented in source.

Members

Variables

style
Style style;

styling for the cell

text
string text;

character content - one character followed by any combinging characters

width
int width;

display width in cells

Meta