charmbracelet / huh

Build terminal forms and prompts 🤷🏻‍♀️
MIT License
4.39k stars 126 forks source link

scrolling indicator #466

Open tizu69 opened 1 day ago

tizu69 commented 1 day ago

Is your feature request related to a problem? Please describe. scrolling in multiselect lists requires me to change the subtitle to like "hey u can scrolL" because otherwise the user wouldn't know

Describe the solution you'd like probably a

┃ Select scripts to include in your package                                                                        
┃ You may scroll to discover more scripts! (this is what I did as a temp solution)
┃ > [ ] server_scripts/fffff copy 1.js                                                                             
┃   [ ] server_scripts/fffff copy 10.js                                                                            
┃   [ ] server_scripts/fffff copy 11.js                                                                            
┃   [ ] server_scripts/fffff copy 12.js                                                                            
┃   [ ] server_scripts/fffff copy 13.js                                                                            
┃   [ ] server_scripts/fffff copy 14.js                                                                            
┃   [ ] server_scripts/fffff copy 15.js                                                                            
V   [ ] server_scripts/fffff copy 16.js   

or just have the cursor not reach the end unless its the last item (so like, scroll with a 1-item gap)

Describe alternatives you've considered text

Additional context i like apples