summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 09:34:27 -0500
committerJeff Carr <[email protected]>2025-10-26 09:34:27 -0500
commitd411389d0bf214fee8502ddc5f18307b2fc8f698 (patch)
tree54698fdd1fd16143422524047e9ce7d02adb9a55 /main.go
parent6dc6b5c25a4a489e37529e05380fe57646a59c0c (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index a775f03..8f767df 100644
--- a/main.go
+++ b/main.go
@@ -21,7 +21,7 @@ var colors *gui.Node
func main() {
me = new(mainType)
- me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
+ argvpb.Init(&argv, APPNAME, BUILDTIME, VERSION) // adds shell auto-complete
helloworld()
basicWindow = makebasicWindow()
@@ -43,7 +43,7 @@ func helloworld() {
mainWindow.Show()
mainWindow.Custom = func() {
log.Info("window closed")
- me.argv.GoodExit("gui closed")
+ argvpb.GoodExit("gui closed")
}
box := mainWindow.NewBox("vbox", false)