AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.07k stars 350 forks source link

feat: Add Description function to multi select #446

Closed Konkrad closed 1 year ago

Konkrad commented 1 year ago

Adopting the Description function from select to multi select as proposed in #432

AlecAivazis commented 1 year ago

👋 Thanks for submitting this! Please bear with us while we catch up on a lot of PRs that are piling up. We appreciate your patience

Konkrad commented 1 year ago

Hello, I added some tests. If you have ideas for more, please let me know.

AlecAivazis commented 1 year ago

Okay, finally found some time to pull this down and check it out. I'm seeing some weird coloring when I have a description set:

Screen Shot 2022-09-12 at 12 36 04 AM
Konkrad commented 1 year ago

Indeed, thanks, I forgot to reset the color. Fixed it. Is there a way to add a test case for this?

AlecAivazis commented 1 year ago

Looks good! I just pushed up a test. Will merge once we get the 👍 from github