diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-25 15:10:54 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-25 15:10:54 -0500 |
commit | 66212837ab43d1ff0b416f68357cb6092d0c4e8b (patch) | |
tree | 6ce23b3e0301b0ee77e46fb138d07a4f4954d262 | |
parent | Merge pull request #3955 (diff) | |
parent | password: flush cout when prompting for password without newline (diff) | |
download | monero-66212837ab43d1ff0b416f68357cb6092d0c4e8b.tar.xz |
Merge pull request #3957
2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
-rw-r--r-- | src/common/password.cpp | 2 |
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) |