I want a combobox from the shell. That is, a dropdown of default items with some fuzzy searching and, importantly, the ability to enter a value that is not in the list.In gui environments, this is supported by tools like rofi: cat options | rofi -dmenu does precisely what I need, with C-ENTER forcing an option not in the list.Is there an equivalent of this which is pure command-line? fzf seems like the closest analogue in the pure command line space, but a brief review of its manual page suggests there is no suitable binding for accept the text as entered.WorkaroundsThere are of course workaroundsUse a menu system with number indexing including an entry for create newThe same but within fzfBut neither of these are easy as they could be.
Comboboxes from bash
command line;input;user interface