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