From 18fb3a391cecab9f9f0d71e455051315c8cf9a6d Mon Sep 17 00:00:00 2001 From: def Date: Sun, 8 Feb 2015 22:53:49 +0100 Subject: Fix readPasswordFromStdin for Windows --- lib/impure/rdstdin.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/impure') 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 -- cgit 1.4.1-2-gfad0