summaryrefslogtreecommitdiff
path: root/eventMouseMove.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouseMove.go')
-rw-r--r--eventMouseMove.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eventMouseMove.go b/eventMouseMove.go
index b73c013..eb6c2ee 100644
--- a/eventMouseMove.go
+++ b/eventMouseMove.go
@@ -23,6 +23,7 @@ import (
// this is run every time the user moves the mouse over the terminal window
func mouseMove(g *gocui.Gui) {
w, h := g.MousePosition()
+ me.ok = true // this tells init() it's okay to work with gocui
if me.supermouse {
for _, tk := range findByXY(w, h) {