diff options
| author | Jeff Carr <[email protected]> | 2025-02-08 14:24:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-08 14:24:43 -0600 |
| commit | 58cb7f3d2d8cd102081ba545081f20bf0d6fd211 (patch) | |
| tree | 5b1cb97e6c4376d2a64e1748e3ab632d460baf03 /eventBindings.go | |
| parent | 53eb14ccbde494a61c3b1ef6dc03edd7dd0b507e (diff) | |
still can't remove "msg" create in mouseMove()
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 } |
