From 5e7f902d5fae4014b8eef8c4945cbc131c6f701e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 05:15:33 -0500 Subject: newer but still not right argv --- structs.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index da20513..81ea423 100644 --- a/structs.go +++ b/structs.go @@ -6,6 +6,9 @@ package main import ( "context" + "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/chatpb" @@ -17,10 +20,12 @@ var me *mainType // this app's variables type mainType struct { 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 handle itself chats *chatpb.Chats // all our prior conversations with regex client *genai.Client // the Google Gemini AI client variable ctx context.Context // global context. what does this acutally mean? lastChat *chatpb.Chat // the last chat. append to here - myGui *argvpb.GuiPrep // the gui toolkit handle mainWindow *gadgets.GenericWindow // the main GUI window } -- cgit v1.2.3