diff options
| author | Jeff Carr <[email protected]> | 2025-02-08 16:23:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-08 16:23:03 -0600 |
| commit | f8b7c603a12513c3865bb3166f11133a444b89c7 (patch) | |
| tree | 1ef0fb28d7433d56def73369d8b1c9694ef92d9f /eventMouse.go | |
| parent | 419f4aef6a3c4bda7fd85e69853b24d2bfb0469f (diff) | |
<enter> closes and saves the text from the textbox
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 2 |
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 } } |
