diff options
| author | Jeff Carr <[email protected]> | 2025-10-25 21:22:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-25 21:22:44 -0500 |
| commit | c4808b62d90562eb901e37f242ee866dc07d07c6 (patch) | |
| tree | 610c02d00b04565a270ebd6ef3c9f84cf5766c4e /theMagicOfAutocomplete.go | |
| parent | c03f2e6ab138d25b514f05046f580e547e635252 (diff) | |
dump more
Diffstat (limited to 'theMagicOfAutocomplete.go')
| -rw-r--r-- | theMagicOfAutocomplete.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index 29008bf..f1d427d 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -174,16 +174,16 @@ func prepareStdout() { me.pb.HelpCounter = 0 } } else { - if me.autoFunc == nil { - me.pb.SubCommand(me.pb.Real...) - } else { - me.autoFunc(me.pb) // run the autocomplete function the user made for their application - } - if me.debug { - // TODO: - // check here to see if there was any completion text sent - // if not, send "reset bash newline\n" to cause bash to redraw PS1 for the user - } + // if me.autoFunc == nil { + // me.pb.SubCommand(me.pb.Real...) + // } else { + me.autoFunc(me.pb) // run the autocomplete function the user made for their application + // } + // if me.debug { + // TODO: + // check here to see if there was any completion text sent + // if not, send "reset bash newline\n" to cause bash to redraw PS1 for the user + // } } fmt.Fprintf(Stderr, "got to the end err(%v)\n", me.Err) return |
