prompts
prompts copied to clipboard
Add possibility to hide select hint
Is your feature request related to a problem?
I'm using select
prompt and would like to hide hint.
Tried using instructions: false
, hint: false
, hint: ''
, but it is still there 🙈
Describe the solution you'd like
A boolean hint
option, same as in instructions
.
Describe alternatives you've considered
An empty string provided as a hint
should also work.
i meet the same question
Provide an empty string containing a single whitespace character, for example:
const prompt = await prompts({
name: 'action',
type: 'select',
hint: ' ', // instead of '' use ' '
message: 'Lorem Ipsum',
choices: []
})