From c4095ef7aa24abe780ae49cd674b7187c39cd995 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 07:39:31 -0600 Subject: not sure why mouse clicks are working weird --- eventBindings.go | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'eventBindings.go') diff --git a/eventBindings.go b/eventBindings.go index 26348e5..166696e 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -92,27 +92,6 @@ func addDropdown() *tree.Node { return addDropdownNew(-222) } -func findNextWindow() *guiWidget { - var found bool - if len(me.allwin) == 0 { - return nil - } - for _, win := range me.allwin { - if win.activeWindow { - found = true - win.activeWindow = false - continue - } - if found { - win.activeWindow = true - return win - } - } - me.allwin[0].activeWindow = true - // at the end, loop to the beginning - return me.allwin[0] -} - // use this to test code ideas // put whatever you want here and hit '2' to activate it func theNotsure(g *gocui.Gui, v *gocui.View) error { log.Info("got keypress 2. now what?") -- cgit v1.2.3