mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
The key matcher only consulted event.code when a binding explicitly opted in via codeFallback. macOS rewrites event.key whenever Option is held (Option+T -> "†", Option+[ -> "“", Option+Shift+W -> "„", etc.), so the comparison against combo.key always failed and every Alt-bound letter / bracket shortcut silently stopped firing on Mac: Cmd+Alt+T (cycle theme), Alt+Shift+[/], Alt+[/], Alt+Shift+W. Fall back to event.code when combo.alt is set. Keep the existing key-first behaviour for non-Alt bindings so Dvorak users still get logical-character matching (Cmd+V on physical Period keeps pasting instead of triggering Cmd+. for sidebar toggle).