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

Checkbox instructions disappears on space selection

Open shinebayar-g opened this issue 2 years ago • 2 comments

Pressing i or a works as expected. But selecting item with space, removes instructions. image image image

shinebayar-g avatar May 04 '23 02:05 shinebayar-g

Hey! This is done on purposes to reduce weight on the screen once we assume a user understands how to operate the prompt.

Does it cause a problem? Would you prefer this to be configurable?

SBoudrias avatar May 04 '23 20:05 SBoudrias

Oh I see. Well it was a little bit unexpected since instructions present 3 options and 2 of them doesn't clear up instructions while only 1 of them cleared it. I'd prefer it to be stay consistent tbh. My vote goes to non-clearing path by default. Configuration option doesn't sound bad.

shinebayar-g avatar May 04 '23 21:05 shinebayar-g

Let's combine this request with #963

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