diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 05:41:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 05:41:51 -0600 |
| commit | 6d991fef63b79c8c934bfc70acb783fcd6f13f89 (patch) | |
| tree | 22de300130ee09eb5c44eae478eb1b89e3f4edf7 /eventBindings.go | |
| parent | 9c7b139e5ac7c0fbec70a827aab6d0d2b9a030b7 (diff) | |
dropdown menus are maybe working again
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eventBindings.go b/eventBindings.go index 600bea0..183a21d 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -37,6 +37,8 @@ func registerHandlers(g *gocui.Gui) { g.SetKeybinding("", 'q', gocui.ModNone, doExit) // 'q' exit // debugging + g.SetKeybinding("", gocui.KeyTab, gocui.ModNone, theNotsure) // '2' use this to test new ideas + g.SetKeybinding("", gocui.KeyTab, gocui.ModShift, theNotsure) // '2' use this to test new ideas g.SetKeybinding("", '2', gocui.ModNone, theNotsure) // '2' use this to test new ideas g.SetKeybinding("", 'S', gocui.ModNone, theSuperMouse) // 'S' Super Mouse mode! g.SetKeybinding("", 'M', gocui.ModNone, printWidgetPlacements) // 'M' list all widgets with positions @@ -94,6 +96,7 @@ func addDropdown() *tree.Node { // 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?") + log.Info("try to switch windows here") // w, h := g.MousePosition() // me.newWindowTrigger <- true return nil |
