prompt-toolkit / prompt-toolkit/python-prompt-toolkit

input_dialog completion doesn't appear to have any effect

Open
#715 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

I am using version 2.0.4 and it appears that currently the completion for the input_dialog doesn't have any effect.
When using code like the following:

path = input_dialog(title="Generate report",
                                text="Please enter the output path",
                                completer=PathCompleter(expanduser=True))

I can insert the path normally, theres no error, but no completion window appears. The same happens when trying to use a word completer.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the input_dialog API and its completer parameter, reproducing the example with PathCompleter(expanduser=True) and a word completer. Trace why completion suggestions are not shown, then verify that both completer types produce a visible completion window without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.