getpass.getpass python function doesn't hide input
The following code should print "Password: " on the command line, then get user text input without displaying it on the screen.
import getpass passStr = getpass.getpass("Password: ")
It does hide input initially, but on pressing Enter, it then writes the entire password to the screen. (Expected output is nothing at all).