diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 02:34:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 02:34:40 -0600 |
| commit | 7813fc126dee96c1fe901b4ba5fe7fd252804806 (patch) | |
| tree | cc49e620ddd597cc5f38398592518f5dff324e45 /eventBindings.go | |
| parent | fb3c16707d72d41cbb92c2392f36dee76fa36936 (diff) | |
maybe fixed wierd clicks on window drag
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eventBindings.go b/eventBindings.go index 16ef0cf..5b39457 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -99,7 +99,12 @@ 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?") + if me.dark { + me.dark = false + } else { + me.dark = true + } + log.Info("got keypress 2. now what? dark =", me.dark) return nil } |
