From 34bcf3ef29f12c57c44c78d862c464ba56cb1585 Mon Sep 17 00:00:00 2001 From: wenxichang Date: Thu, 19 Jun 2025 20:51:15 +0800 Subject: [PATCH] hide the cursor --- darwin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/darwin.go b/darwin.go index 86319ec..f3326cf 100644 --- a/darwin.go +++ b/darwin.go @@ -38,6 +38,7 @@ static CGImageRef capture(CGDirectDisplayID id, CGRect diIntersectDisplayLocal, config.sourceRect = diIntersectDisplayLocal; config.width = diIntersectDisplayLocal.size.width; config.height = diIntersectDisplayLocal.size.height; + config.showsCursor = NO; [SCScreenshotManager captureImageWithFilter:filter configuration:config completionHandler:^(CGImageRef img, NSError* error) {