summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 13:03:48 -0600
committerJeff Carr <[email protected]>2024-01-07 13:03:48 -0600
commit1208cdeda60bf3d1f97f33b4bb754680e51bbec9 (patch)
treea502142691ad0398d2e1c1777dc4f49e72d4fdd2
parent34569cbceefee024051a1831acd7b6a1b0fd57e4 (diff)
background gui.debugger init
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index f1f51d3..9c147d6 100644
--- a/main.go
+++ b/main.go
@@ -54,8 +54,10 @@ func main() {
me.statusOS.Draw2()
if debugger.ArgDebug() {
- log.Sleep(2)
- debugger.DebugWindow(me.myGui)
+ go func() {
+ log.Sleep(2)
+ debugger.DebugWindow(me.myGui)
+ }()
}
// forever monitor for network and dns changes