We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d62782 commit 2997bd2Copy full SHA for 2997bd2
hotkey_windows.go
@@ -23,7 +23,7 @@ func (hk *Hotkey) register() error {
23
for _, m := range hk.mods {
24
mod = mod | uint8(m)
25
}
26
- ok, err := win.RegisterHotKey(0, 1, uintptr(mod), uintptr(KeyS))
+ ok, err := win.RegisterHotKey(0, 1, uintptr(mod), uintptr(hk.key))
27
if !ok {
28
return err
29
0 commit comments