From c4f9bac85eeafb4916b57d6f8953fa930d6d098e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Feb 2025 13:28:19 -0600 Subject: add config default to show stdout onscreen on start --- eventBindings.go | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'eventBindings.go') 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") -- cgit v1.2.3