-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
Configurable prompt symbols #16
Comments
Do you want it to be dynamic, so it can change during runtime? |
I think that the furthest I'd take this is allowing a specific |
@lukeed per prompt object or prompt function? I guess we can make it a option |
I don't need this, but I would guess those who want it would want per object. |
Per object, yea. Which in turn to be able to be function too. Don't need too but sounds good thing. |
Perfect! This will be implemented. |
Is this too much? |
Closing for now |
@terkelg |
Has this idea been abandonned? |
This is on hold for now – I'll look into this for a v2 |
I just added very quick and dirty custom symbol support for the confirmation prompt in my branch: https://github.com/aral/prompts/tree/custom-symbols-for-confirm To use: {
type: 'confirm',
name: 'confirmed',
message: 'Can you confirm?',
symbol: () => (done, aborted) => aborted ? '❌' : done ? '🎉' : '🧐',
} In case it helps as a stopgap for anyone else. |
Is it actually possible to customize the question prefix
?
with emoji for exemple.It could be really cool to offert a more contextual experience.
And nice job for this project 👍
The text was updated successfully, but these errors were encountered: