rpassword icon indicating copy to clipboard operation
rpassword copied to clipboard

Support ^U

Open tobiasvl opened this issue 2 years ago • 1 comments

If I make a typo in my password and press Ctrl+U, it would be nice if it erased my entire password (like in a regular readline session).

It seems like Ctrl+H (backspace) is supported already, but when typing my password "blindly" I often don't realize where the typo is, so it's simpler to start over.

tobiasvl avatar Jul 11 '22 22:07 tobiasvl

Good catch! :+1: I am not available to work on this at the moment so if anyone if willing to make a PR for that I'll review it.

conradkleinespel avatar Jul 12 '22 08:07 conradkleinespel

Fixed with help from @LSchallot and published in v7.1.0 on crates.io

conradkleinespel avatar Oct 20 '22 16:10 conradkleinespel