diff options
| -rw-r--r-- | argv.go | 2 | ||||
| -rw-r--r-- | main.go | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 @@ -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() |
