summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-25 08:26:54 -0500
committerJeff Carr <[email protected]>2025-10-25 08:26:54 -0500
commitb95f2cab06e5de8fec71b0b991777f5d5cb1fa90 (patch)
tree821deba3f06e10e908a9f3990e434bf47b5da022 /structs.go
parent31e1d6afbe3ad9e39d0f0115b1ae3ddb0bb5de64 (diff)
isolate history handling
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index c406e8f..f43b154 100644
--- a/structs.go
+++ b/structs.go
@@ -6,7 +6,7 @@ var me *AutoArgs
// this is a work in progress
type AutoArgs struct {
pb *Argv // the protobuf for the current process
- all *Argvs // the protobuf for the current process
+ all *Argvs // the history of argv
last *Argv // the pb from the last time the user tried autocomplete
id int // should be unique
Argv func([]string) // the function for shell autocomplete
@@ -27,5 +27,4 @@ type AutoArgs struct {
debug bool // is dubugging on?
setupAuto bool // do shell autocomplete setup
isAuto bool // try to do autocomplete
-
}