//go:build darwin && cgo package hotkey import hk "golang.design/x/hotkey" // macOS uses ⌘ as the primary modifier; Option corresponds to Alt. // // This file is gated on cgo because golang.design/x/hotkey only exposes the // Mod* constants from its cgo-backed darwin implementation; with CGO_ENABLED=0 // the package falls back to a stub that defines no constants. func modCmd() hk.Modifier { return hk.ModCmd } func modCtrl() hk.Modifier { return hk.ModCtrl } func modOption() hk.Modifier { return hk.ModOption } func modShift() hk.Modifier { return hk.ModShift }