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