password: flush cout when prompting for password without newline

release-v0.5.1
moneromooo-monero 6 years ago
parent 8a7b3ff138
commit 2bb2c1b9d7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save