diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-07 13:48:30 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-07 13:48:30 +0100 |
commit | 2bb2c1b9d74445c8386d9f0329d41877786687cb (patch) | |
tree | 5b4817cd84df100b69255c027dd51fd84b97d647 /src/common | |
parent | Merge pull request #3866 (diff) | |
download | monero-2bb2c1b9d74445c8386d9f0329d41877786687cb.tar.xz |
password: flush cout when prompting for password without newline
Diffstat (limited to 'src/common')
-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) |