Add terminal API interface to Types.ts

This is needed since the API/public buffer now differs from the TerminalCore's
This commit is contained in:
Daniel Imms
2019-04-09 21:29:08 -07:00
parent 6b0f2170ea
commit b55bedc6af
3 changed files with 44 additions and 5 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ declare module 'xterm' {
* A callback that fires when the mouse leaves a link. Note that this can
* happen even when tooltipCallback hasn't fired for the link yet.
*/
leaveCallback?: (event: MouseEvent, uri: string) => boolean | void;
leaveCallback?: () => void;
/**
* The priority of the link matcher, this defines the order in which the link