diff options
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 |
