diff options
author | def <dennis@felsin9.de> | 2015-02-08 22:53:49 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-02-08 22:53:49 +0100 |
commit | 18fb3a391cecab9f9f0d71e455051315c8cf9a6d (patch) | |
tree | 9eee51fe6931d4a30497793dd99e6b7eccdc12e9 /lib/impure | |
parent | 9431b734b4751b804a0e07e6fe52f29dea0b6b1c (diff) | |
download | Nim-18fb3a391cecab9f9f0d71e455051315c8cf9a6d.tar.gz |
Fix readPasswordFromStdin for Windows
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/rdstdin.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim index b188ead1f..f53058a9b 100644 --- a/lib/impure/rdstdin.nim +++ b/lib/impure/rdstdin.nim @@ -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 |