Merge pull request #5355 from Tyriar/tyriar/3634

Add note about reverse tabnapping
This commit is contained in:
Daniel Imms
2025-06-13 08:41:38 -07:00
committed by GitHub
+4
View File
@@ -14,6 +14,10 @@ declare module '@xterm/addon-web-links' {
/**
* Creates a new web links addon.
* @param handler The callback when the link is called.
*
* Note that this may not work when the terminal is hosted inside an iframe,
* in that case provide a custom handler in that case being mindful of
* possible security issues like reverse tabnapping.
* @param options Options for the link provider.
*/
constructor(handler?: (event: MouseEvent, uri: string) => void, options?: ILinkProviderOptions);