Permalink
Browse files

Flush cout when password request prompts

  • Loading branch information...
miltonf committed Dec 3, 2018
1 parent 36ee34f commit cd90c7ccdf2ed6a3183253a494bfe11972cb3e42
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/common/password.cpp
@@ -164,7 +164,7 @@ namespace
while (true)
{
if (message)
std::cout << message <<": ";
std::cout << message <<": " << std::flush;
if (!read_from_tty(pass1))
return false;
if (verify)

0 comments on commit cd90c7c

Please sign in to comment.