diff options
| author | Jeff Carr <[email protected]> | 2025-03-02 18:04:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-02 18:04:08 -0600 |
| commit | dc329ed18c27c3b7d0467b5fc131438f41ece678 (patch) | |
| tree | a160c25ce688290b89f244e064ee855071558375 /eventBindings.go | |
| parent | 3e7287baea931b27770a6d7b33db51b889db50c5 (diff) | |
can refresh manually
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 } |
