Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto-complete prompt #116

Closed
quilicicf opened this issue Nov 25, 2020 · 8 comments · Fixed by #126
Closed

Add auto-complete prompt #116

quilicicf opened this issue Nov 25, 2020 · 8 comments · Fixed by #126

Comments

@quilicicf
Copy link

Hi,

Cliffy prompts look pretty dope but one of the most useful prompts IMO would be the auto-complete prompt (example).

Would you consider adding it?

I tried to port enquirer to Deno (see PR 316) but the discrepancies in the key events APIs make it pretty tough and the maintainer couldn't get a look so I'm stuck. I'm thinking that it may be a better option to have a new strong prompt lib in Deno rather than porting a NodeJS lib with all the complexity it adds (my PR was huge).

@c4spar
Copy link
Owner

c4spar commented Nov 25, 2020

Hi @quilicicf, thanks for your feedback!

yes autocompletion support is definitly on my list. My plan was to add native autocompletion support to the GenericInput class. So all pormpts which inherits from it like Input, Number, List and Confirm gets autocompletion support.

@quilicicf
Copy link
Author

That would be awesome thanks!

@quilicicf
Copy link
Author

Thanks a bunch!
Will try this 🎉

@quilicicf
Copy link
Author

Just tried it out, it works like a charm :-)
I noticed it's not in a release yet though, I tried it using GitHub as a CDN.
Would be super nice to have a release with it when it makes sense.
Thanks a lot 🙏

@c4spar
Copy link
Owner

c4spar commented Jan 8, 2021

Hi @quilicicf, thx for your feedback!
Sry, but i had not so much time in the last days. I will try to make a new release today or tomorrow. But i want to finish some other things first.

@quilicicf
Copy link
Author

Don't worry, there's no rush!
Real life first :-)

@c4spar
Copy link
Owner

c4spar commented Jan 11, 2021

Hi @quilicicf,
it's now available in v0.17.0.

@quilicicf
Copy link
Author

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants