Skip to content

@jsvision/core / WidthWarnOptions

Interface: WidthWarnOptions ​

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

Options for warnIfAmbiguousWide: the probe options plus a warning sink + variant.

Extends ​

Properties ​

adapted? ​

readonly optional adapted?: boolean

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

When true, the emitted message reports automatic adaptation (WIDTH_ADAPTED_MESSAGE).


arrowGlyphs? ​

readonly optional arrowGlyphs?: string

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

Group-1 probe string (default AMBIGUOUS_PROBE_GLYPHS); measured by code-point count.

Inherited from ​

WidthProbeOptions.arrowGlyphs


boxGlyphs? ​

readonly optional boxGlyphs?: string

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

Group-2 probe string (default BOX_PROBE_GLYPHS); measured by code-point count.

Inherited from ​

WidthProbeOptions.boxGlyphs


timeoutMs? ​

readonly optional timeoutMs?: number

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

Whole-probe timeout in ms (default DEFAULT_WIDTH_PROBE_TIMEOUT_MS), shared by both groups.

Inherited from ​

WidthProbeOptions.timeoutMs


warn? ​

readonly optional warn?: (message) => void

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

Warning sink (default: a single line to process.stderr). Injected for tests.

Parameters ​

message ​

string

Returns ​

void