Inquirer.js icon indicating copy to clipboard operation
Inquirer.js copied to clipboard

Hidden password is visible on git for Windows MinTTY bash prompt

Open kspearrin opened this issue 7 years ago • 1 comments

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]

kspearrin avatar Aug 27 '18 12:08 kspearrin

I'm having a slew of issues on Windows.

jednano avatar May 18 '19 13:05 jednano