inquirer@14.3.2
What's new
- Input: erasing an editable prefilled default and pressing Enter now submits the empty value; previously the erased default was silently submitted, and
requirednever triggered (#2475). - Select: keys that type nothing (arrows, Home, End, Page Up/Down, Delete, Escape) no longer reset the cursor to the first choice; the selection stays where it was (#2467).
- Select: under vim keybindings, stray letters typed while navigating are now discarded, so a following number key jumps to the nth choice instead of being appended to leftover input (#2474).
- Core: a
useKeypresshandler that throws now rejects the prompt with that error, instead of silently swallowing it (#2486). - I18n: prompts use English when the effective locale is C or POSIX, matching glibc behavior (#2470).
- Rawlist: the error shown when
rawlistis given no choices now names the rawlist prompt, not the select prompt (#2490). - Dependencies updated: @inquirer/core@12.1.2, @inquirer/input@5.2.2, @inquirer/i18n@1.5.1, @inquirer/prompts@8.8.2, @inquirer/rawlist@5.4.2, @inquirer/select@5.3.2.