From 264f658a465f75c2cf3d6c506cefe8ad56154baf Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Sun, 6 Feb 2022 00:42:18 -0800 Subject: [PATCH] Fix typo in doc for GetMousePos (#462) --- robotgo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotgo.go b/robotgo.go index 78937df..6b7ebea 100644 --- a/robotgo.go +++ b/robotgo.go @@ -621,7 +621,7 @@ func MoveSmoothRelative(x, y int, args ...interface{}) { MoveSmooth(mx, my, args...) } -// GetMousePos get the mouse's portion return x, y +// GetMousePos get the mouse's position return x, y func GetMousePos() (int, int) { pos := C.getMousePos() x := int(pos.x)