mikaelmello / inquire

A Rust library for building interactive prompts
https://docs.rs/inquire
MIT License
1.71k stars 72 forks source link

Feature: Different colors for select options #250

Open alanvardy opened 1 month ago

alanvardy commented 1 month ago

Is your feature request related to a problem? Please describe. I would like to show different colors for each of the select options, as described in the below issue: https://github.com/alanvardy/tod/issues/638

I would like to select a priority from a list and have the priorities be different colors. I believe that right now the RenderConfig overrides any colors I set with the colored library.

Describe the solution you'd like Find some way to pass through options that have been 'colored' and have them be visible to the user.

Describe alternatives you've considered I haven't been able to think of any, what do you think?

Additional context Thanks for the awesome library, it's made building some of my apps an absolute joy.