Cell
Defined in: src/render/buffer.ts:152
One grid cell: its glyph, style, and optional icon/graphic.
Properties
Section titled “Properties”char:
string
Defined in: src/render/buffer.ts:154
The character (may be a multi-code-point grapheme).
graphic?
Section titled “graphic?”
optionalgraphic?:GraphicMetadata
Defined in: src/render/buffer.ts:162
Inline graphic anchored at this cell, if any.
optionalicon?:string
Defined in: src/render/buffer.ts:160
Registered icon name drawn in this cell, if any.
style:
Style
Defined in: src/render/buffer.ts:156
Visual style.
wideContinuation
Section titled “wideContinuation”wideContinuation:
boolean
Defined in: src/render/buffer.ts:158
True for the trailing half of a wide (2-cell) glyph.