summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 08:36:08 -0600
committerJeff Carr <[email protected]>2025-02-08 08:36:08 -0600
commit078a23e0e080b9eca82c8ef9a582675d81e2f30f (patch)
treeafec9f8a18030e6521e4f77bc506dcdc2949c9d5 /init.go
parent44264df09d6e7b44dc45417c4fbcc5fdc470580e (diff)
detect double click
Diffstat (limited to 'init.go')
-rw-r--r--init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.go b/init.go
index a243fd2..3964ce0 100644
--- a/init.go
+++ b/init.go
@@ -52,6 +52,7 @@ func init() {
me.mouse.mouseUp = true
me.mouse.clicktime = time.Millisecond * 100
+ me.mouse.doubletime = time.Millisecond * 300
me.myTree = tree.New()
me.myTree.PluginName = "gocui"