From 9836434ac9ac1313e5fd3ce4675fbf6dac4421e2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 05:11:04 -0500 Subject: new argv --- structs.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 6cb0f0c..c7fe2a8 100644 --- a/structs.go +++ b/structs.go @@ -2,7 +2,9 @@ package main import ( + "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" + "go.wit.com/lib/fhelp" "go.wit.com/lib/gadgets" "go.wit.com/lib/protobuf/argvpb" "go.wit.com/lib/protobuf/forgepb" @@ -12,9 +14,10 @@ import ( var me *autoType type autoType struct { - sh *argvpb.Argv // shell autocomplete - myGui *argvpb.GuiPrep // the gui handle itself - origGui *gui.Node // the gui handle itself + argv *argvpb.Argv // shell autocomplete + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + myGui *fhelp.GuiPrep // the gui handle itself + gui *gui.Node // the gui toolkit handle releaseReasonS string // = "gocui dropdown select" release releaseStruct // notsure reposbox *gui.Node // notsure -- cgit v1.2.3