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

Fix issue #73 and #70 #74

Closed LSchallot closed 2 years ago

LSchallot commented 2 years ago

Changes made for "^U" in fix_line_issues.rs do not show up properly in GitHub's code preview. Recommend viewing via a text editor. I moved the "fix_new_line.rs" to "fix_line_issues.rs" as a potential file to handle string cleanup so impacts to existing memory management, etc. would not be impacted.

conradkleinespel commented 2 years ago

@LSchallot Thanks for your PR. Will have a look at this when I get a moment. I can't promise any ETA.

conradkleinespel commented 2 years ago

Hi @LSchallot ! Thanks again. With the minor fix noted above, I've applied the fixes on the monorepo on which I develop for Rust: https://github.com/conradkleinespel/duck/pull/39

I'll soon publish a new releases for rpassword with this :+1: