@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?
readonlyoptionaladapted?:boolean
Defined in: host/width-probe.ts:128
When true, the emitted message reports automatic adaptation (WIDTH_ADAPTED_MESSAGE).
arrowGlyphs?
readonlyoptionalarrowGlyphs?:string
Defined in: host/width-probe.ts:116
Group-1 probe string (default AMBIGUOUS_PROBE_GLYPHS); measured by code-point count.
Inherited from
boxGlyphs?
readonlyoptionalboxGlyphs?:string
Defined in: host/width-probe.ts:118
Group-2 probe string (default BOX_PROBE_GLYPHS); measured by code-point count.
Inherited from
timeoutMs?
readonlyoptionaltimeoutMs?: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
warn?
readonlyoptionalwarn?: (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