mikaelmello / inquire

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

Make Scrolling More Obvious (Customizable maybe?) #237

Open Swivelgames opened 6 months ago

Swivelgames commented 6 months ago

Is your feature request related to a problem? Please describe. Right now, it's not immediately obvious that there are additional items in a scrollable select. The addition of the down arrow looks good, but I fear that it's a bit too subtle.

Describe the solution you'd like It would be great if there was an option to replace the last visible item in the list with an ellipsis ("...") instead.

image

Additionally, being able to configure the text there would be great, like setting it to "More..." or something else depending on their needs.


Completely unrelated side note... Setting the Github repo's "website" to https://docs.rs/inquire would be great to make accessing the docs from the repo easier :tada:

mikaelmello commented 6 months ago

That's a good idea, I'm a bit hesitant in making the new style the global default, instantly applying it to anyone who updates, so I'm going to add that as a render config option instead.


Good idea too, thanks! Added it