Merge branch 'master' into parser_hooks

This commit is contained in:
Daniel Imms
2019-08-10 14:15:11 -07:00
committed by GitHub
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -665,9 +665,9 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
this.linkifier.attachToDom(this.element, this._mouseZoneManager);
// apply mouse event classes set by escape codes before terminal was attached
this.element.classList.toggle('enable-mouse-events', this.mouseEvents);
if (this.mouseEvents) {
this._selectionService.disable();
this.element.classList.add('enable-mouse-events');
} else {
this._selectionService.enable();
}