summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 16:23:03 -0600
committerJeff Carr <[email protected]>2025-02-08 16:23:03 -0600
commitf8b7c603a12513c3865bb3166f11133a444b89c7 (patch)
tree1ef0fb28d7433d56def73369d8b1c9694ef92d9f /eventMouse.go
parent419f4aef6a3c4bda7fd85e69853b24d2bfb0469f (diff)
<enter> closes and saves the text from the textbox
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouse.go b/eventMouse.go
index ff973c4..088f2e0 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -82,7 +82,7 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
for _, tk := range findByXY(w, h) {
if (tk.node.WidgetType == widget.Flag) && (tk == me.textbox.tk) {
me.textbox.active = false
- tk.textboxClosed()
+ textboxClosed()
return nil
}
}