summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 657cbf9..01ad344 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -117,6 +117,10 @@ func click(g *gocui.Gui, v *gocui.View) error {
for _, tk := range findByXY(w, h) {
log.Log(GOCUI, fmt.Sprintf("findByXY() click() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h))
+ if tk.WidgetType == widget.Stdout {
+ // don't send clicks to the stdout debugging window
+ continue
+ }
tk.doWidgetClick()
return nil
}