From 31c130045d903b3c874dbf8728589a6a909704ae Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 01:42:40 -0600 Subject: add a goroutine and channel to trigger window redraw --- eventBindings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eventBindings.go') diff --git a/eventBindings.go b/eventBindings.go index 4fe6cff..02339af 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -97,7 +97,7 @@ func addDropdown() *tree.Node { func theNotsure(g *gocui.Gui, v *gocui.View) error { log.Info("got keypress 2. now what?") // w, h := g.MousePosition() - redoWindows(1, -1) + me.newWindowTrigger <- true return nil } -- cgit v1.2.3