aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-25 15:10:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-25 15:10:54 -0500
commit66212837ab43d1ff0b416f68357cb6092d0c4e8b (patch)
tree6ce23b3e0301b0ee77e46fb138d07a4f4954d262 /src/common
parent506be80601d870b970e221d107a2a6d516ac2cfb (diff)
parent2bb2c1b9d74445c8386d9f0329d41877786687cb (diff)
downloadmonzero-core-66212837ab43d1ff0b416f68357cb6092d0c4e8b.tar.gz
monzero-core-66212837ab43d1ff0b416f68357cb6092d0c4e8b.tar.xz
monzero-core-66212837ab43d1ff0b416f68357cb6092d0c4e8b.zip
Merge pull request #3957
2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
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)