conradkleinespel / rpassword

Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).
Apache License 2.0
243 stars 38 forks source link

println!() does not work after rpassword::read_password_from_tty() #45

Closed Fishrock123 closed 4 years ago

Fishrock123 commented 4 years ago

I'm not really sure why this is, but my guess is that the character hiding thing isn't going away?

Also, related, calling this appears to clear any existing text outputted to a tty via println!()...

conradkleinespel commented 4 years ago

@Fishrock123 What platform (Windows, Linux, OSX, etc) are you testing on ? Can you please provide a code example that reproduces the bug you are referring to ? That will help with understanding.

Fishrock123 commented 4 years ago

Ok I think this was my fault somehow (it works now), sorry for the false report.

conradkleinespel commented 4 years ago

@Fishrock123 No worries, thanks for closing. Feel free to open the issue back up again if you experience any more issues.