@jsvision/web / BrowserHostOptions
Interface: BrowserHostOptions
Defined in: host.ts:93
Options for createBrowserHost.
Properties
caps
readonlycaps:CapabilityProfile
Defined in: host.ts:97
The capability profile driving serialize()/decode() (build one with buildBrowserCaps).
onInput
readonlyonInput: (event) =>void
Defined in: host.ts:99
Sink for decoded input events (wire to loop.dispatch).
Parameters
event
InputEvent
Returns
void
term
readonlyterm:TerminalLike
Defined in: host.ts:95
The terminal to render into and read input from (any object satisfying TerminalLike).
timer?
readonlyoptionaltimer?:TimerSeam
Defined in: host.ts:101
Timer seam; defaults to the global timers. Inject a fake to drive the lone-ESC flush in tests.