From dac32aca9d498eee05303df5785d4e7817c45bdd Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Sat, 5 Feb 2022 13:53:35 -0800 Subject: [PATCH] Fix typo in doc for GetMousePos --- 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)