summaryrefslogtreecommitdiff
path: root/eventBindings.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 10:30:19 -0600
committerJeff Carr <[email protected]>2025-02-08 10:30:19 -0600
commited024aac7025cdf41d2ea6f0c5a83f1694982da1 (patch)
tree11eb280cabe988570f7f1dc53a3e612de1f2bd10 /eventBindings.go
parent6045a205fde7457dcb20ed14139023a6f4afd222 (diff)
textbox opens
Diffstat (limited to 'eventBindings.go')
-rw-r--r--eventBindings.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/eventBindings.go b/eventBindings.go
index ad6330f..09bdcbe 100644
--- a/eventBindings.go
+++ b/eventBindings.go
@@ -130,6 +130,11 @@ func doEsc(g *gocui.Gui, v *gocui.View) error {
me.dropdown.active = false
log.Info("escaped from dropdown")
}
+ if me.textbox.active {
+ me.textbox.tk.Hide()
+ me.textbox.active = false
+ log.Info("escaped from textbox")
+ }
return nil
}