Merge pull request #3957

2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
This commit is contained in:
luigi1111 2018-06-25 15:10:54 -05:00
commit 66212837ab
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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)