code: func (p *terminalPrompter) SetWordCompleter(completer WordCompleter) {
  	p.State.SetWordCompleter(liner.WordCompleter(completer))
  }
docs: // SetWordCompleter sets the completion function that the prompter will call to
  // fetch completion candidates when the user presses tab.