url -> text

This commit is contained in:
Daniel Imms
2020-02-07 09:39:26 -08:00
parent ef071ac7ac
commit c327116e7f
5 changed files with 23 additions and 23 deletions
+8 -8
View File
@@ -1104,30 +1104,30 @@ declare module 'xterm' {
range: IBufferRange;
/**
* The url of the link.
* The text of the link.
*/
url: string;
text: string;
/**
* Called when the link's tooltip is ready to show.
* @param event The mouse event triggering the callback.
* @param link
* @param text The text of the link.
*/
showTooltip?(event: MouseEvent, link: string): void;
showTooltip?(event: MouseEvent, teext: string): void;
/**
* Called when the link's tooltip is ready to hide.
* @param event The mouse event triggering the callback.
* @param link
* @param text The text of the link.
*/
hideTooltip?(event: MouseEvent, link: string): void;
hideTooltip?(event: MouseEvent, text: string): void;
/**
* Calls when the link is activated.
* @param event The mouse event triggering the callback.
* @param link
* @param text The text of the link.
*/
handle(event: MouseEvent, link: string): void;
handle(event: MouseEvent, text: string): void;
}
/**