summaryrefslogtreecommitdiff
path: root/eventBindings.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-24 19:28:33 -0500
committerJeff Carr <[email protected]>2025-04-24 19:28:33 -0500
commit7b6af30194302f92798fbd7bdeabf3d72528bcb8 (patch)
tree167ff388991d3b33305322f0fa1205c5f0f4d585 /eventBindings.go
parente0c55e73d24f12f574706364ffdbf21f14bd1798 (diff)
text edit box kinda works sometimes
Diffstat (limited to 'eventBindings.go')
-rw-r--r--eventBindings.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/eventBindings.go b/eventBindings.go
index acc25a8..7b31570 100644
--- a/eventBindings.go
+++ b/eventBindings.go
@@ -138,11 +138,13 @@ func doEsc(g *gocui.Gui, v *gocui.View) error {
me.dropdown.tk.Hide()
me.dropdown.active = false
log.Info("escaped from dropdown")
+ me.baseGui.SetCurrentView(me.notify.clock.tk.cuiName)
}
if me.textbox.active {
me.textbox.tk.Hide()
me.textbox.active = false
log.Info("escaped from textbox")
+ me.baseGui.SetCurrentView(me.notify.clock.tk.cuiName)
}
return nil
}