Fixed bug in commandline password entry