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

How can I disable help tips? #963

Closed
hunkjazz opened this issue Sep 10, 2020 · 4 comments · Fixed by #1381
Closed

How can I disable help tips? #963

hunkjazz opened this issue Sep 10, 2020 · 4 comments · Fixed by #1381

Comments

@hunkjazz
Copy link

No description provided.

@inwardmovement
Copy link

Indeed, could you provide an option to disable tips like "(Use arrow keys)" please?

@manchuck
Copy link

manchuck commented Aug 4, 2023

It looks like you can set the instructions property to false

@SBoudrias
Copy link
Owner

SBoudrias commented Apr 4, 2024

Happy to review a PR adding this to @inquirer/prompts through a theme flag.

Might want to not make it a boolean, and favour passing in a string representing the behavior; in the optic of also allowing to never hide them: #1217 - like hidden, hide-after-interaction, always-shown (suggested names)

@SBoudrias
Copy link
Owner

PR #1381 is up with this feature. I'll leave open a few days for review and feedback. Feel free to chip in!

SBoudrias added a commit that referenced this issue Apr 12, 2024
…ips (#1381)

* Chore: Add type tests to @inquirer/prompts

* Feat: Expose customization options for Select/Checkbox prompts help tips

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

Successfully merging a pull request may close this issue.

4 participants