diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -76,11 +76,12 @@ func main() { s, err = doSubcommand() // if the gui starts, it doesn't yet go to the end normally - if argv.Gui != nil { + if argvpb.GetCmd() == "gui" { me.myGui.Start() // loads the GUI toolkit doGui() // start making our forge GUI debug() // sits here forever } + // safe exits back to your shell (with timing and toolkit close) if err != nil { argvpb.BadExit(s, err) |
