SBoudrias / Inquirer.js

A collection of common interactive command line user interfaces.
MIT License
20.07k stars 1.3k forks source link

Hidden password is visible on git for Windows MinTTY bash prompt #721

Open kspearrin opened 6 years ago

kspearrin commented 6 years ago

We received a report from a Windows user that prompts of type password still show their value on Windows MinTTY bash prompts.

const answer: inquirer.Answers = await inquirer.createPromptModule({ output: process.stderr })({
        type: 'password',
        name: 'password',
        message: 'Password:',
    });

For example, password typed is aaaaa:

? Password: [input is hidden] aaaaa
? Password: [hidden]
jednano commented 5 years ago

I'm having a slew of issues on Windows.