A first draft of tab-completion for prompts - #181
Conversation
|
And i just found out that |
|
I suggest that types can define custom readline completers. |
|
A problem i am currently running into is that the prompt text doesn't get reshown after showing all suggestions. This is because click outputs the prompt text manually instead of passing it to |
|
We cannot use readline because of licensing issues unfortunately. Readline is GPL licensed :-/ |
|
From the readline docs: Since libedit is BSD, this seems to be a greyzone. Shouldn't GPL be enforced on CPython itself if its stdlib is depending on readline? |
|
Rebased and reverted accidental change to index.rst. Any updates on this? |
|
I think https://github.com/jonathanslenders/python-prompt-toolkit could be used as optdepends for this. |
|
Doesn't merge cleanly anymore. |
|
Yeah, this is a dead end. |
See #173. This is not ready for merge yet.
functions, which bash's read of course doesn't support.