Use regex parser for web links

This commit is contained in:
Jon Bockhorst
2019-11-01 17:38:08 -05:00
parent ec78fc7e7c
commit e57cb8bf7e
5 changed files with 86 additions and 21 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
this.register(this._mouseZoneManager);
this.register(this.onScroll(() => this._mouseZoneManager.clearAll()));
this.linkifier.attachToDom(this.element, this._mouseZoneManager);
this.linkifier2.attachToDom(this.element, this._mouseService);
this.linkifier2.attachToDom(this.element, this._viewportElement, this._mouseService);
// This event listener must be registered aftre MouseZoneManager is created
this.register(addDisposableDomListener(this.element, 'mousedown', (e: MouseEvent) => this._selectionService.onMouseDown(e)));