diff options
| -rw-r--r-- | argv.go | 3 | ||||
| -rw-r--r-- | structs.go | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ package main import ( "os" + "go.wit.com/gui" "go.wit.com/lib/debugger" "go.wit.com/lib/fhelp" "go.wit.com/lib/gui/prep" @@ -198,10 +199,10 @@ func (args) Appname() string { } // arg.Register(&argGui) -// me.myGui = gui.Init() // log.Info("ArgvGui() started") func (args) ArgvGui() error { me.myGui = fhelp.Gui() // adds the GUI package argv support + me.origGui = gui.New() return nil } @@ -31,6 +31,7 @@ type mainType struct { sh *prep.Auto // shell autocomplete forge *forgepb.Forge // for holding the forge protobuf files myGui *fhelp.GuiPrep // for initializing the GUI toolkits + origGui *gui.Node // for initializing the GUI toolkits foundPaths []string // stores gopaths to act on (when doing go-clone) configSave bool // if the config file should be saved after finishing urlbase string // base URL |
