tmbo / questionary

Python library to build pretty command line user prompts ✨Easy to use multi-select lists, confirmations, free text prompts ...
MIT License
1.57k stars 90 forks source link

`path` parameter for `min_input_len` #359

Open riziles opened 9 months ago

riziles commented 9 months ago

Describe the problem

I've found that I get 20-30x better performance (on Windows) if I I override the default completer for path prompts with the somewhat undocumented alternative of completer=GreatUXPathCompleter(min_input_len=4).

Describe the solution

Any chance that min_input_len get added as a one of the standard inputs to path prompts? If not, I'd suggest adding the GreatUXPathCompleter solution to the docs.

Alternatives considered

No response

kiancross commented 4 months ago

Happy to review a PR which implements this.

riziles commented 4 months ago

@kiancross , unfortunately I had to uninstall Questionary because of this issue: https://github.com/tmbo/questionary/issues/344 . Do you know what the current status is?