lahwaacz / sxlock

MIT License
41 stars 21 forks source link

Add option to hide password length #15

Closed qmenoret closed 8 years ago

qmenoret commented 8 years ago

Hi,

I just added an option to hide the password length when typing, it will still show characters, but a randomly more than you actually typed. It allow to prevent anyone to know the password length, but also to be able to know when the buffer is empty (Since it wont update displayed password if len = 0).

If you're interested by the feature but don't like the code, i can try to improve the code according to your comments.

lahwaacz commented 8 years ago

Merged, thanks for the quick update.