summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 08:42:41 -0600
committerJeff Carr <[email protected]>2025-02-08 08:42:41 -0600
commit1010db44a68542753e9074334868e21d813f85b0 (patch)
treebf9c14e2946bf1cd4d41e8e5069b14a689d20cab /eventMouseClick.go
parent078a23e0e080b9eca82c8ef9a582675d81e2f30f (diff)
mouse double click implemented too. why not? took 5 minutes
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 2b725a6..b3f817b 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -142,3 +142,8 @@ func doMouseClick(w int, h int) {
log.Log(GOCUI, "click() nothing was at:", w, h)
return
}
+
+func doMouseDoubleClick(w int, h int) {
+ me.mouse.double = false
+ log.Printf("actually a double click (%d,%d)", w, h)
+}