-
-
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
First prompt on Windows is duplicating #369
Comments
I am using https://github.com/dylang/grunt-prompt, which uses inquirer@0.11.4, and the issue is the same. When having just one prompt with pasword, it is only masked in the second line, so you can see what are you typing (password), then after pressing enter you see the line repeated, but with masked input. Edit: Windows 10 cmd.exe, ConEmu with PyCmd |
Same issue on Windows 10 with Powershell |
I should say, I have both issues... first line is duplicated and if the first prompt is type password, you can see the input that is typed. |
I can confirm both issues! |
+1 |
1 similar comment
+1 |
Some node version ship with a totally broken readline. See nodejs/node#5384 for more details. You'll want to try again on latest stable Node.js version. |
Thank you SBoudrias for your answer. |
Awesome SBoudrias, thanks so much. |
Good afternoon,
There is one issue. When we use inquirer latest version 1.1.2, user entrance of first prompt is duplicating.
Let me show you a simple example to demostrate it
var inquirer = require('inquirer');
inquirer.prompt([
{
name: 'name',
type: 'input',
'message': 'Name:'
},
{
name: 'surname',
type: 'input',
'message': 'Surname:'
},
{
name: 'password',
type: 'password',
message: 'Password:'
}
]).then(function(credentials){
console.log(credentials);
});
Issue is that firsr prompt is duplicating. It was tested on Windows 8.1 x64, node v 5.0.0.
The same issue was detected when using older version of inquirer - 0.12.0.
The text was updated successfully, but these errors were encountered: