Improve api
This commit is contained in:
Vendored
+3
-2
@@ -1100,11 +1100,12 @@ declare module 'xterm' {
|
|||||||
interface ILinkProvider {
|
interface ILinkProvider {
|
||||||
/**
|
/**
|
||||||
* Provides a link a buffer position
|
* Provides a link a buffer position
|
||||||
* @param y The y position of the buffer that is currently active.
|
* @param bufferLineNumber The y position of the buffer to check for links
|
||||||
|
* within.
|
||||||
* @param callback The callback to be fired when ready with the resulting
|
* @param callback The callback to be fired when ready with the resulting
|
||||||
* link(s) for the line or `undefined`.
|
* link(s) for the line or `undefined`.
|
||||||
*/
|
*/
|
||||||
provideLinks(y: number, callback: (links: ILink[] | undefined) => void): void;
|
provideLinks(bufferLineNumber: number, callback: (links: ILink[] | undefined) => void): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user