Skip to content

Commit

Permalink
Merge pull request #124 from smolck/fix-option-combos
Browse files Browse the repository at this point in the history
Fix option-<char> and similar combos on macos
  • Loading branch information
smolck committed Feb 8, 2021
2 parents 972f042 + e761034 commit 61ef3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61ef3d8

Please sign in to comment.