diff options
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/eventBindings.go b/eventBindings.go index 05d1442..508daa4 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -78,19 +78,21 @@ func theSuperMouse(g *gocui.Gui, v *gocui.View) error { // 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 to theNotsure(). now what? dark =", me.dark) - if me.debug { - log.Info("debugging off") - me.debug = false - } else { - log.Info("debugging on") - me.debug = true - } - win := findWindowUnderMouse() - if win != nil { - win.dumpWidget("found() win. redrawing window:") - win.makeWindowActive() - } - + me.refresh = true + /* + if me.debug { + log.Info("debugging off") + me.debug = false + } else { + log.Info("debugging on") + me.debug = true + } + win := findWindowUnderMouse() + if win != nil { + win.dumpWidget("found() win. redrawing window:") + win.makeWindowActive() + } + */ return nil } |
