@inquirer/core@12.0.3
What's new
- Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach
useKeypresshandlers after the prompt was done, cancelled, or aborted. Hook effects are now cleared in the synchronous settlement path (#2255, closes #1816). - Prompts created with an already-aborted signal now run the terminal cleanup (restore the cursor, close the readline interface, end the output stream) instead of leaking them (#2255).