Added mac platform check before we try to use mac specific config var

This commit is contained in:
Viraj Sinha
2018-06-29 20:19:18 -07:00
parent ace612e575
commit 3a4ad37177
+1 -1
View File
@@ -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);
}
/**