diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 28e2bc1d2e57533d5a7cbfe070a3eac0283fad70..c187ece4f6415d77d1ef0a1b9cf1bee615d4b1a6 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -1114,13 +1114,19 @@ declare module 'vscode' { //#region Terminal link handlers https://github.com/microsoft/vscode/issues/91606 export namespace window { + /** + * Register a [TerminalLinkHandler](#TerminalLinkHandler) that can be used to intercept and + * handle links that are activated within terminals. + */ export function registerTerminalLinkHandler(handler: TerminalLinkHandler): Disposable; } export interface TerminalLinkHandler { /** - * @return true when the link was handled (and should not be considered by - * other providers including the default), false when the link was not handled. + * Handles a link that is activated within the terminal. + * + * @return Whether the link was handled, the link was handled this link will not be + * considered by any other extension or by the default built-in link handler. */ handleLink(terminal: Terminal, link: string): ProviderResult; }