diff options
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eventMouse.go b/eventMouse.go index 9821bd1..8840359 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -29,6 +29,16 @@ import ( // this is run every time the user moves the mouse over the terminal window func mouseMove(g *gocui.Gui) { mx, my := g.MousePosition() + + w := mx + h := my + + if me.supermouse { + for _, tk := range findByXY(w, h) { + log.Log(GOCUI, fmt.Sprintf("findByXY() mouseMove() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) + } + } + for _, view := range g.Views() { view.Highlight = false } |
