From a069e6c98421be8e11a87d9ce98cf741d48e8afa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 1 Feb 2025 19:56:02 -0600 Subject: [PATCH] got stdout window to grab from a label --- eventMouse.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eventMouse.go b/eventMouse.go index 1d1895e..20af0de 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -59,6 +59,13 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error { tk.doWidgetClick(mx, my) return nil } + if tk.node.WidgetType == widget.Label { + log.Info("IGNORE LABLE") + found = false + log.Info("setting mousedown to true") + msgMouseDown = true + return nil + } /* if tk.node.WidgetType == widget.Label { log.Info("SENDING CLICK TO Label")