From d5607f072aec55ef108ed05b303d9934bc5b056b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Furkan=20=C3=87etinkaya?= Date: Thu, 19 Oct 2023 09:12:59 +0300 Subject: [PATCH] fix macos unknown error --- keybd_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keybd_darwin.go b/keybd_darwin.go index df8edf8..1e628e4 100644 --- a/keybd_darwin.go +++ b/keybd_darwin.go @@ -3,7 +3,7 @@ package keybd_event /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework Cocoa - #import + #import #import CGEventRef CreateDown(int k){ CGEventRef event = CGEventCreateKeyboardEvent (NULL, (CGKeyCode)k, true);