Fix readPasswordFromStdin for Windows

This commit is contained in:
def
2015-02-08 22:53:49 +01:00
parent 9431b734b4
commit 18fb3a391c

View File

@@ -40,7 +40,7 @@ when defined(Windows):
password.setLen(0)
var c: char
echo prompt
stdout.write(prompt)
while true:
c = getch().char
case c