From bc01313a04ddb0cfe5eae72a0e04995765a53c84 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 12 Feb 2024 10:14:50 -0600 Subject: use standard debugger.go Signed-off-by: Jeff Carr --- main.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 25d9a58..2204571 100644 --- a/main.go +++ b/main.go @@ -27,24 +27,12 @@ func main() { log.SetAll(true) log.ShowFlags() } - if args.TmpLog { - // send all log() output to a file in /tmp - log.SetTmp() - } myGui = gui.New() myGui.Default() helloworld() basicWindow = makebasicWindow() - // run the debugger if triggered from the commandline - if debugger.ArgDebug() { - go func() { - log.Sleep(2) - debugger.DebugWindow() - }() - } - // go will sit here until the window exits gui.Watchdog() } -- cgit v1.2.3