summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-02-08 22:53:49 +0100
committerdef <dennis@felsin9.de>2015-02-08 22:53:49 +0100
commit18fb3a391cecab9f9f0d71e455051315c8cf9a6d (patch)
tree9eee51fe6931d4a30497793dd99e6b7eccdc12e9 /lib/impure
parent9431b734b4751b804a0e07e6fe52f29dea0b6b1c (diff)
downloadNim-18fb3a391cecab9f9f0d71e455051315c8cf9a6d.tar.gz
Fix readPasswordFromStdin for Windows
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/rdstdin.nim2
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