Skip to content
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

Silent still outputs text #29

Open
OKNoah opened this issue Dec 28, 2015 · 6 comments
Open

Silent still outputs text #29

OKNoah opened this issue Dec 28, 2015 · 6 comments

Comments

@OKNoah
Copy link

OKNoah commented Dec 28, 2015

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.

@MobiusHorizons
Copy link

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

@MobiusHorizons
Copy link

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

@watilde
Copy link

watilde commented Aug 9, 2016

Hmm it worked for me in GitBash on Windows 10
img

@mkeasling
Copy link

I'm seeing this in CygWin on Windows 7

@watilde
Copy link

watilde commented Feb 14, 2017

@edzhou2
Copy link

edzhou2 commented Mar 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants