diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 07:39:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 07:39:31 -0600 |
| commit | c4095ef7aa24abe780ae49cd674b7187c39cd995 (patch) | |
| tree | b2ef730479c25c896cef6234ae56be2570a9aef2 /eventBindings.go | |
| parent | c136ca2b4c33ae639af0f62f604ecdf73ea38d3e (diff) | |
not sure why mouse clicks are working weird
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 21 |
1 files changed, 0 insertions, 21 deletions
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?") |
