Also recognize unicode aliases for macOS modifiers
This commit is contained in:
parent
a89309153d
commit
e232863028
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def to_cursor_shape(x):
|
|||
def parse_mods(parts):
|
||||
|
||||
def map_mod(m):
|
||||
return {'CTRL': 'CONTROL', 'CMD': 'SUPER', 'OPTION': 'ALT'}.get(m, m)
|
||||
return {'CTRL': 'CONTROL', 'CMD': 'SUPER', '⌘': 'SUPER', '⌥': 'ALT', 'OPTION': 'ALT'}.get(m, m)
|
||||
|
||||
mods = 0
|
||||
for m in parts:
|
||||
|
|
|
|||
Loading…
Reference in a new issue