read icon indicating copy to clipboard operation
read copied to clipboard

Silent still outputs text

Open OKNoah opened this issue 8 years ago • 6 comments

Using this code, I still see the text output.

read({ prompt: 'Email: ', default: 'Email' }, (err, email) => {
  read({ prompt: 'Password: ', default: 'Password', silent: true, replace: '*' }, (err, password) => {
    resolve({email: email, password: password});
  });
});

Just to confirm, I should see

Password: *****

when typing, right? Or does silent: true simply not output the text a second time? Thanks.

OKNoah avatar Dec 28 '15 22:12 OKNoah

I am seeing this error on windows as well, but not on OSX

MobiusHorizons avatar Jun 30 '16 20:06 MobiusHorizons

I should mention that it is only occurring in GitBash, not in cmd

MobiusHorizons avatar Jul 05 '16 20:07 MobiusHorizons

Hmm it worked for me in GitBash on Windows 10 img

watilde avatar Aug 09 '16 05:08 watilde

I'm seeing this in CygWin on Windows 7

mkeasling avatar Feb 13 '17 22:02 mkeasling

@mkeasling CygWin is not supported officially https://github.com/npm/npm#installing-on-cygwin

watilde avatar Feb 14 '17 01:02 watilde

Same issue with GitBash (Windows 7). Possibly an issue with 32-bit?

edzhou2 avatar Mar 08 '17 00:03 edzhou2