This change implements tabCompletion for a single candidate as discussed in #36.
If the completer function returns a slice with a single completion candidate in it, then update the prompt with that candidate and return control back to the read loop. It doesn't make sense to go into tab completion for a single item
This change implements tabCompletion for a single candidate as discussed in #36.
If the completer function returns a slice with a single completion candidate in it, then update the prompt with that candidate and return control back to the read loop. It doesn't make sense to go into tab completion for a single item