Looks like readline don't always triggers keypress events on Windows #2996
Description
Hi there, I'm the author on Inquirer.
I would've love to have more details to report on this bug. But I don't have much currently, I'm hoping someone would be able to help in getting more precise information. Also, due to this blindness, I can't exclude totally that this is an issue with Inquirer; all I know is these bug reports started to appear on my repo recently.
Basically, it looks like on Windows (since mostly Node 4.0), readlines don't always triggers keypress events the first time we initialize one. This have reported on Inquirer repository: SBoudrias/Inquirer.js#266
Some people the issue have said they've been able to reproduce using only a readline directly, but it's not super clear what they've done.
On my side, I've been unable to reproduce this bug on any Windows VM. So I really have a hard time to come up with reproducible step for you.
Activity