charmbracelet / huh

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

FR: Enhance FilePicker UX for directory mode #420

Open thiemotorres opened 2 months ago

thiemotorres commented 2 months ago

Is your feature request related to a problem? Please describe. When using the filepicker to pick directories, selecting and opening directories uses the same key (enter). Also when just wanting to select directories, being able to see all files is distracting.

Describe the solution you'd like When picking directories I would like to have a different default keymapping (e.g. space to open directories and enter to select). An option to just show directories and hide all files would be awesome