Inquirer.js icon indicating copy to clipboard operation
Inquirer.js copied to clipboard

How can I disable help tips?

Open hunkjazz opened this issue 4 years ago • 2 comments

hunkjazz avatar Sep 10 '20 21:09 hunkjazz

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

inwardmovement avatar Jul 29 '21 13:07 inwardmovement

It looks like you can set the instructions property to false

manchuck avatar Aug 04 '23 15:08 manchuck

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: https://github.com/SBoudrias/Inquirer.js/issues/1217 - like hidden, hide-after-interaction, always-shown (suggested names)

SBoudrias avatar Apr 04 '24 21:04 SBoudrias

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

SBoudrias avatar Apr 06 '24 18:04 SBoudrias