diff options
| author | Jeff Carr <[email protected]> | 2025-02-01 19:56:02 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-01 19:56:02 -0600 |
| commit | a069e6c98421be8e11a87d9ce98cf741d48e8afa (patch) | |
| tree | 0cd21f81aae391219095098b4f31896977d03650 | |
| parent | d6f2fd983e28659ed2e1296d72f84f43b9cbc825 (diff) | |
got stdout window to grab from a label
| -rw-r--r-- | eventMouse.go | 7 |
1 files changed, 7 insertions, 0 deletions
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") |
