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

Request: Supports custom status types #1582

Open
br14n-sol opened this issue Oct 14, 2024 · 1 comment
Open

Request: Supports custom status types #1582

br14n-sol opened this issue Oct 14, 2024 · 1 comment

Comments

@br14n-sol
Copy link
Contributor

We should be able to pass our own state type to usePrefix as in the case of makeTheme.

This would be especially useful for those that use a state other than the one defined by inquirer, as in my case with inquirer-file-selector, which uses a state of its own to define when the user cancels the prompt.

@SBoudrias
Copy link
Owner

That's a reasonable request. PR welcomed is anyone gets to it before I do.

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

No branches or pull requests

2 participants