From 7f87b4632857c6a1d2a40582800e5ef3d0260e53 Mon Sep 17 00:00:00 2001 From: Pavel Sychev Date: Wed, 30 Mar 2022 14:30:56 +0200 Subject: [PATCH] Expose urlRegex in the public .d.ts file. --- .../xterm-addon-web-links/typings/xterm-addon-web-links.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/xterm-addon-web-links/typings/xterm-addon-web-links.d.ts b/addons/xterm-addon-web-links/typings/xterm-addon-web-links.d.ts index 78a258e5..5e6c266d 100644 --- a/addons/xterm-addon-web-links/typings/xterm-addon-web-links.d.ts +++ b/addons/xterm-addon-web-links/typings/xterm-addon-web-links.d.ts @@ -49,5 +49,10 @@ declare module 'xterm-addon-web-links' { * happen even when tooltipCallback hasn't fired for the link yet. */ leave?(event: MouseEvent, text: string): void; + + /** + * A callback to use instead of the default one. + */ + urlRegex?: RegExp; } }