TerminalLink

constructor(startIndex: Int, length: Int, tooltip: String = definedExternally)(source)

Creates a new terminal link.

Parameters

startIndex

The start index of the link on TerminalLinkContext.line.

length

The length of the link on TerminalLinkContext.line.

tooltip

The tooltip text when you hover over this link.

If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as {0} (ctrl + click). The specific instructions vary depending on OS, user settings, and localization.

Online Documentation