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

Provide default value or press key to exit prompt #25

Open
banhmisg9509 opened this issue May 30, 2021 · 1 comment
Open

Provide default value or press key to exit prompt #25

banhmisg9509 opened this issue May 30, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@banhmisg9509
Copy link

I have a problem when the user want to exit the file selector prompt. They don't know what button to press to exit when there aren't any valid file to select or the root folder was empty. So I think the prompt should provide a default value or callback when press key e.g ESC

@anc95
Copy link
Owner

anc95 commented Jan 16, 2022

I see same issue here SBoudrias/Inquirer.js#454, but not get merged.

As for me, this feature is better to be implemented in InquireJs but not a plugin to make consistent experience.

@anc95 anc95 added the wontfix This will not be worked on label Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants