diff options
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/eventBindings.go b/eventBindings.go index 29e669c..1c0e6cc 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -5,7 +5,6 @@ package main import ( "syscall" - "time" "github.com/awesome-gocui/gocui" "go.wit.com/log" @@ -72,13 +71,6 @@ 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 keypress 2. now what? dark =", me.dark) - if me.clock.tk == nil { - makeClock() - } else { - me.clock.tk.v.Clear() - me.clock.tk.labelN = time.Now().Format("15:04:05") - me.clock.tk.v.WriteString(me.clock.tk.labelN) - } return nil } |
