-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buggy on windows 8.x with node 0.10.x #235
Comments
I forgot to mention that the script works if I use |
@SBoudrias |
You can provide a minimal reproduction case. That'll help. Then, I don't own a windows machine, so it's hard for me to reproduce and debug. But I know for a fact this was working fine and I haven't pushed new version out for a while... So I'm not sure why it stopped working. Maybe try on older node 0.10.x? |
@SBoudrias
I've just tried with Node 0.10.10 and Node 0.10.20 - the issue is reproducible as well. We've just integrated Inquirer in our code and we've noticed the issue, so I'm not able to say if it is related to some changes in the inquirer itself with latest versions or there is some other issue. |
I've just tested with latest changes from master branch and the result is the same - the arrow keys are not working. |
Hello @SBoudrias, You can download a testing VirtualBox appliance with Windows 8.1 from here. It is good for 90 days and you can use it to debug the issue. |
Hi @SBoudrias , var readl = require("readline2");
var rl = readl.createInterface(process.stdin, process.stdout);
rl.on('line', function(err) {
console.log("on line");
});
rl.on('keypress', function(err) {
console.log("on keypress");
}); We've tried executing the script in cmd and using the arrows to see if data event is emitted from node, but when I pressed up arrow, the console showed my the previous command I've executed. It looks like node does not emit the event and the up arrow is caught by cmd itself. The issue is reproducible with both readline2 and readline and nodejs 0.10.x |
No idea at all, readline is Node core module. It seems to me the readline is not attached or maybe the cmd is not in tty mode... I don't know for sure. I think you should open an issue on the Node.js repository. |
The problem is reproducible without importing |
Hi,
I'm using windows 8.1, node 0.10.36
This renders as expected but you can't interact with it.
The problem is reproduced on Windows 8.x with node 0.10.x using
cmd
orgit bash
. I've tested it with node 0.12 and it works.The text was updated successfully, but these errors were encountered: