Skip to content

@inquirer/core@12.1.1

Choose a tag to compare

@SBoudrias SBoudrias released this 22 Nov 00:04
Immutable release. Only release title and notes can be modified.
@inquirer/core@12.1.1
6570b8e

@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)