Patch #1703 by Philip Jenvey -- getpass() should flush after writing prompt.
This commit is contained in:
parent
d9a4d1d587
commit
cfb83330ce
|
@ -78,6 +78,7 @@ def _raw_input(prompt="", stream=None):
|
|||
prompt = str(prompt)
|
||||
if prompt:
|
||||
stream.write(prompt)
|
||||
stream.flush()
|
||||
line = sys.stdin.readline()
|
||||
if not line:
|
||||
raise EOFError
|
||||
|
|
Loading…
Reference in New Issue