Interface: CellLink
@termwright/driver / CellLink
Interface: CellLink
Section titled “Interface: CellLink”Defined in: driver/src/api.ts:427
A hyperlink attached to a cell.
id is the OSC 8 id= parameter. It is the only parameter that survives:
the sequence permits key=value:key=value, and the emulator keeps id and
discards the rest — so anything carrying data through a hyperlink has this
one field to carry it in.
Properties
Section titled “Properties”
readonlyoptionalid?:string
Defined in: driver/src/api.ts:429
truncated?
Section titled “truncated?”
readonlyoptionaltruncated?:true
Defined in: driver/src/api.ts:435
True when uri was cut to the string ceiling and is therefore not the
address the program wrote. Present only when it happened, so an assertion
against a URI can tell “this is the link” from “this is the front of it”.
readonlyuri:string
Defined in: driver/src/api.ts:428