You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
up/down keys on Windows have broken behavior in windows #5821
I think this is likely to be the same as #5384. Investigating that issue I found that accessing process.stdin causes asynchronous reads to be started and then canceled. So there is a race condition between those reads being canceled and the console being set in raw mode. If the reads don't get canceled in time, they will consume keypress events from the system buffers before the console is set in raw mode.
tl;dr: could you please test the change at #5776 and see if it solves this issue?
Activity
Fishrock123 commentedon Mar 21, 2016
Hmmm I didn't see anything obvious from v5.6.0's commit log. I don't think this is the same issue as #5776 either.
cc @nodejs/platform-windows
egoroof commentedon Mar 21, 2016
Fishrock123 commentedon Mar 21, 2016
Hmm, maybe it is this same bug. The c-ares upgrade was in 5.6.0.
martinheidegger commentedon Mar 21, 2016
Seems like it is the same bug (why didn't it show up in my search for issues)
orangemocha commentedon Mar 21, 2016
I think this is likely to be the same as #5384. Investigating that issue I found that accessing process.stdin causes asynchronous reads to be started and then canceled. So there is a race condition between those reads being canceled and the console being set in raw mode. If the reads don't get canceled in time, they will consume keypress events from the system buffers before the console is set in raw mode.
tl;dr: could you please test the change at #5776 and see if it solves this issue?
martinheidegger commentedon Mar 30, 2016
@orangemocha Seems like that issue was reverted. But it does sound like we are talking about the same issue.
jasnell commentedon Apr 22, 2016
Closing as a duplicate of #5384. The issue still exists we just don't need multiple issues open for it! It's being investigated still! Thank you!