TerminalLine
interface TerminalLine
Read-only borrowed view of one physical terminal line.
Read only while the owning terminal is serialized against mutation and do not retain the view after releasing that serialization. Mutations may replace or reuse its backing storage. Renderer-owned copies use the public render frame contract.
Functions
Link copied to clipboard
Returns the number of codepoints in the cluster at col, or 0 for a scalar, blank, or wide spacer cell. This is the capacity required by readCluster, not a UTF-16 length or a display width.
Link copied to clipboard
Returns the base (first) codepoint for the cell at col.
Link copied to clipboard