You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When getting a value from a prompt that includes a placeholder, it'd be nice if the user doesn't have to typoe it out explicitly. Other prompts allow pressing Tab to fill in the placeholder. Can we add this to Clack please?
import{text}from"@clack/prompts";constvalue=awaittext({message: "input text please",placeholder: "default value do I have to type this out"});
Describe the solution you'd like
When an input prompt is active and the placeholder exists and .startsWith the current typed text value (intentionally true for ""), pressing Tab should set the current typed text value to the placeholder.
Describe alternatives you've considered
🤷
Additional context
I'd love to send a PR! ❤️
The text was updated successfully, but these errors were encountered:
@JoshuaKGoldberg I think we would appreciate to have another maintainer! Nate is the only one that has add access. If you would like please open a PR so @natemoo-re has visibility!
I think the goal is to get everything off the list for #35. Then starting adding new features after release.
Is your feature request related to a problem? Please describe.
When getting a value from a prompt that includes a
placeholder
, it'd be nice if the user doesn't have to typoe it out explicitly. Other prompts allow pressing Tab to fill in the placeholder. Can we add this to Clack please?Describe the solution you'd like
When an input prompt is active and the
placeholder
exists and.startsWith
the current typed text value (intentionally true for""
), pressing Tab should set the current typed text value to theplaceholder
.Describe alternatives you've considered
🤷
Additional context
I'd love to send a PR! ❤️
The text was updated successfully, but these errors were encountered: