Fix for reading from stdin.
Example of reading a password from stdin.