Update get_completions() for new prompt_toolkit.