Open mixmastamyk opened 8 years ago
Btw, latest pptk on Windows 7 and Linux (Wily).
this would also be a great 2.0 feature :-)
Yes, I'm not sure what's the right way to both support history search and the up/down arrows for completion. Maybe Ctrl-N
and Ctrl-P
for completions (which already works), and arrows for history search.
Non-regular language support won't be added as part of prompt_toolkit itself. Even the regular-language module comes with some performance pitfalls in some edge cases making me wonder whether it should stay part of prompt_toolkit itself.
Hi @jonathanslenders
Can I check if there are any completions on the current cursor position?
I'm thinking using the arrow keys for completions only when there are completions available, and using arrow keys for history search when there are no compiletions.
Hi, when I enable this feature, it works, but then my completer stops working. I'd like to use both of them:
I'm using the completer from:
If you happen to read this, is there an example to do a non-regular language? ;)