A link on a terminal line.

Constructor

new(startIndex:Int, length:Int, ?tooltip:String)

Creates a new terminal link. @link TerminalLinkContext.line}. @link TerminalLinkContext.line}.

Parameters:

startIndex

The start index of the link on {

length

The length of the link on {

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.

Variables

length:Int

The length of the link on {@link TerminalLinkContext.line}.

startIndex:Int

The start index of the link on {@link TerminalLinkContext.line}.

tooltip:Null<String>

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.