]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/Interfaces.ts
Implement link matcher priorities
[mirror_xterm.js.git] / src / Interfaces.ts
index d2f8e8726d00313e236df7bf67e6d419f4f34909..ca228ce01bdfb99e8218a887c71a1de3b61be016 100644 (file)
@@ -85,6 +85,12 @@ export interface LinkMatcherOptions {
    * false if invalid.
    */
   validationCallback?: LinkMatcherValidationCallback;
+  /**
+   * The priority of the link matcher, this defines the order in which the link
+   * matcher is evaluated relative to others, from highest to lowest. The
+   * default value is 0.
+   */
+  priority?: number;
 }
 
 /**