chooser(
content,opts) ->selected
Display an interactive single or multi-select chooser dialog
Opens a bordered dialog on the alternate screen with arrow-key
navigation. Set opts.multiple_choice = true for multi-select mode.
Returns the chosen string (or table of strings in multi-select mode),
or an empty string/table on ESC.