From 3a4ad3717736f889258660bfedc99aa210c7b5b5 Mon Sep 17 00:00:00 2001 From: Viraj Sinha Date: Fri, 29 Jun 2018 20:19:18 -0700 Subject: [PATCH] Added mac platform check before we try to use mac specific config var --- src/SelectionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SelectionManager.ts b/src/SelectionManager.ts index 285375e9b..14b221991 100644 --- a/src/SelectionManager.ts +++ b/src/SelectionManager.ts @@ -548,7 +548,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager * @param event the mouse or keyboard event */ public shouldColumnSelect(event: KeyboardEvent | MouseEvent): boolean { - return event.altKey && !this._terminal.options.macOptionClickForcesSelection; + return event.altKey && !(Browser.isMac && this._terminal.options.macOptionClickForcesSelection); } /**