From e76103436fadb520622216fd9854d6bc27bc4f18 Mon Sep 17 00:00:00 2001 From: smolck <46855713+smolck@users.noreply.github.com> Date: Mon, 8 Feb 2021 07:59:47 -0600 Subject: [PATCH] hopefully fix option- combos on macos --- src/core/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/input.ts b/src/core/input.ts index 68ae070e..c8508502 100644 --- a/src/core/input.ts +++ b/src/core/input.ts @@ -165,7 +165,7 @@ const isNotChar = (e: KeyboardEvent): boolean => { !e.shiftKey ) return false - if (e.shiftKey && !(e.ctrlKey || e.metaKey || e.altKey) && e.key.length === 1) + if ((e.shiftKey || e.ctrlKey || e.metaKey || e.altKey) && e.key.length === 1) return false return true