github SBoudrias/Inquirer.js @inquirer/core@12.1.1

latest releases: @inquirer/editor@5.5.0, @inquirer/i18n@1.5.0, @inquirer/testing@3.4.1...
one hour ago

@inquirer/core@12.1.1

What's new

  • Node.js 20 support is restored (#2449); it will be dropped properly in the next major release

Fixes

  • Ctrl+D on a TTY prompt now rejects it with an ExitPromptError (like Ctrl+C) instead of leaving it pending forever (#2428)
  • State set by effects during a render flush is now painted — search prompts show their loading spinner and clear stale errors while a fetch is pending after a keystroke (#2445)
  • Terminal rows are counted after wrapping using display-column widths — the cursor no longer lands on the wrong line for wide characters (CJK) in messages and answers (#2438)
  • The readline line stays in sync with the displayed prompt value across prompts (rejected input, arrow-key picks, help expansion) (#2448)

Don't miss a new Inquirer.js release

NewReleases is sending notifications on new releases.