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

extra new line displayed after silenced password input #26

Closed
pierrebiren opened this issue Aug 11, 2015 · 1 comment
Closed

extra new line displayed after silenced password input #26

pierrebiren opened this issue Aug 11, 2015 · 1 comment

Comments

@pierrebiren
Copy link

When using the options silent: true, replace: '*', then after input of the password and hitting return, an extra new line is displayed in the terminal. It is not the case when no replace option is set.

possible solution: this seems to be due to the line : read.js:101:
output.write('\r\n')

removing this line solves the problem, I wonder why it was there.

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

2 participants