summaryrefslogtreecommitdiff
path: root/complete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:57:52 -0500
committerJeff Carr <[email protected]>2025-10-26 10:57:52 -0500
commit10445f875ee822055376714e2ae90829de8c0d3f (patch)
tree7cd68a9789b6a0a1dc8d5973c2a7b1270aedc6cd /complete.go
parent456305122d43bdabf26a1c16f7f550de40cc2a5c (diff)
maybe gui again?v0.23.150
Diffstat (limited to 'complete.go')
-rw-r--r--complete.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/complete.go b/complete.go
index c82bcde..2b8258a 100644
--- a/complete.go
+++ b/complete.go
@@ -6,6 +6,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/protobuf/argvpb"
)
@@ -27,6 +28,14 @@ the repositories in the go.sum file using git clone`
handles shell autocomplete
*/
+func (args) InitGui() error {
+ // panic("got here")
+ arg.Register(&gui.ArgvGui)
+ // me.gui = gui.PreInit()
+ me.myGui = fhelp.Gui()
+ return nil
+}
+
func (args) ArgvGui() error {
// me.myGui = fhelp.Gui() // adds the GUI package argv support
me.gui = gui.New()