]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/Types.ts
Allow http link handler to fallback to standard handler
[mirror_xterm.js.git] / src / Types.ts
index 634e2fdc7a08d736eeb450bc383bdabfbf5f72b7..9e8cd7623db0efff8e654fcc41d546eb05e2c7ac 100644 (file)
@@ -10,5 +10,5 @@ export type LinkMatcher = {
   validationCallback?: LinkMatcherValidationCallback,
   priority?: number
 };
-export type LinkMatcherHandler = (event: MouseEvent, uri: string) => void;
+export type LinkMatcherHandler = (event: MouseEvent, uri: string) => boolean | void;
 export type LinkMatcherValidationCallback = (uri: string, callback: (isValid: boolean) => void) => void;