summaryrefslogtreecommitdiff
path: root/eventBindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventBindings.go')
-rw-r--r--eventBindings.go21
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?")