//go:build windows package hotkey import hk "golang.design/x/hotkey" // On Windows we map "cmd" to Ctrl so the same config string ("cmd+shift+a") // stays meaningful across platforms; "option" is treated as Alt. The Windows // backend does not require cgo, hence the single-tag guard. func modCmd() hk.Modifier { return hk.ModCtrl } func modCtrl() hk.Modifier { return hk.ModCtrl } func modOption() hk.Modifier { return hk.ModAlt } func modShift() hk.Modifier { return hk.ModShift }