password: flush cout when prompting for password without newline

This commit is contained in:
moneromooo-monero 2018-06-07 13:48:30 +01:00
parent 8a7b3ff138
commit 2bb2c1b9d7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

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)