Skip to content

@jsvision/core / WidthProbeGroupResult

Interface: WidthProbeGroupResult

Defined in: host/width-probe.ts:94

Per-group width measurement (arrows or boxes).

Properties

expectedWidth

readonly expectedWidth: number

Defined in: host/width-probe.ts:96

The group's code-point count — the advance a narrow-rendering terminal produces.


measuredWidth

readonly measuredWidth: number | null

Defined in: host/width-probe.ts:98

The measured column advance for this group, or null when the terminal did not answer.


wide

readonly wide: boolean

Defined in: host/width-probe.ts:100

True iff the measured advance exceeds expectedWidth (this group renders wide).