diff options
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 5 |
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 } |
