sgmonda/stdio

question not work on windows.

Closed this issue · 0 comments

stdio.question("Question?", ['y', 'n'], function(error, answer){
    if (answer == 'Y'){
        console.log("Yes entered");
    }else{
        console.log("No entered");
    }
});

Input doesn't handlet at all and callback never called.