inquirer-checkbox-plus-prompt icon indicating copy to clipboard operation
inquirer-checkbox-plus-prompt copied to clipboard

Show selected values

Open hongseokyoon opened this issue 6 years ago • 2 comments

If source list is long, it's hard to recognize selected values. This change add selected value list in gray color just after the question string.

hongseokyoon avatar May 17 '19 14:05 hongseokyoon

Really nice idea. I like it.

It seems there is a simple bug to fix. Run example.js and check that the displayed text contains [[object Object], green, yellow]

It would be better to add an option to enable/disable this feature

Also it would be better to print the list without [ and ] to be consistent with the value that is printed after pressing enter.

faressoft avatar May 17 '19 15:05 faressoft

I didn't remove brackets because of searchable option. Isn't it clear to distinguish selected values and search input?

hongseokyoon avatar May 17 '19 17:05 hongseokyoon