diff options
| author | Jeff Carr <[email protected]> | 2025-02-08 13:28:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-08 13:28:19 -0600 |
| commit | c4f9bac85eeafb4916b57d6f8953fa930d6d098e (patch) | |
| tree | 065027c2d85165c2eb1c2ec14490b7b9a1dbf51c /eventBindings.go | |
| parent | 90083d5bcb2df4b526a04213c07392fe72cb816c (diff) | |
add config default to show stdout onscreen on start
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/eventBindings.go b/eventBindings.go index 4f09e79..29e669c 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -69,26 +69,11 @@ func theSuperMouse(g *gocui.Gui, v *gocui.View) error { return nil } -/* -func addDropdown() *tree.Node { - return addDropdownNew(-222) -} -*/ - // 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 { - me.clock.tk = makeNewFlagWidget(me.clock.wId) - me.clock.tk.dumpWidget("init() clock") - w, h := me.baseGui.MousePosition() - me.clock.tk.MoveToOffset(w, h) - me.clock.tk.labelN = time.Now().Format("15:04:05") - me.clock.tk.frame = false - me.clock.tk.setColorLabel() - me.clock.tk.Show() - me.clock.active = true - me.clock.tk.dumpWidget("showClock()") + makeClock() } else { me.clock.tk.v.Clear() me.clock.tk.labelN = time.Now().Format("15:04:05") |
