summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-04 15:19:49 -0500
committerJeff Carr <[email protected]>2025-09-04 15:19:49 -0500
commitc71702102832061557ff3f8246a9f50dd8fbbab1 (patch)
treeb4738d91899823ea53e4d57c0aca0a4d1667cc67
parenta7e68a70e42b5809d70f1a84052a3845b63a5ec3 (diff)
-rw-r--r--argv.go2
-rw-r--r--main.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 75feb6d..6ec3a72 100644
--- a/argv.go
+++ b/argv.go
@@ -4,6 +4,7 @@ import (
"os"
"go.wit.com/dev/alexflint/arg"
+ "go.wit.com/gui"
)
/*
@@ -24,6 +25,7 @@ This basicwindow example demonstrates multiple windows
}
func init() {
+ gui.InitArg()
pp := arg.MustParse(&argv)
// for very new users or users unfamilar with the command line, this may help them
diff --git a/main.go b/main.go
index 492d3db..bbd9c0a 100644
--- a/main.go
+++ b/main.go
@@ -25,7 +25,8 @@ var computers *gui.Node
var colors *gui.Node
func main() {
- myGui = gui.New().Default()
+ myGui = gui.New()
+ myGui.Default()
myGui.LoadToolkit("gocui")
helloworld()