aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-07 13:48:30 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-07 13:48:30 +0100
commit2bb2c1b9d74445c8386d9f0329d41877786687cb (patch)
tree5b4817cd84df100b69255c027dd51fd84b97d647 /src/common
parentMerge pull request #3866 (diff)
downloadmonero-2bb2c1b9d74445c8386d9f0329d41877786687cb.tar.xz
password: flush cout when prompting for password without newline
Diffstat (limited to 'src/common')
-rw-r--r--src/common/password.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/password.cpp b/src/common/password.cpp
index 9336a14fc..3ce2ba42a 100644
--- a/src/common/password.cpp
+++ b/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)