From 674c733d54319b09592df3731901ae2860e72201 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 3 Jan 2024 14:36:16 -0600 Subject: using 'gui/debugger' Signed-off-by: Jeff Carr --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index be46fdb..c3b2eac 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,7 @@ import ( "go.wit.com/log" "go.wit.com/gui/gui" + "go.wit.com/gui/debugger" "go.wit.com/gui/digitalocean" ) @@ -24,6 +25,11 @@ func main() { myDo.Update() myDo.Show() + if debugger.ArgDebug() { + log.Sleep(2) + debugger.DebugWindow(myGui) + } + doUpdate() // This is just a optional goroutine to watch that things are alive gui.Watchdog() -- cgit v1.2.3