mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-09 20:08:53 +00:00
password: flush cout when prompting for password without newline
This commit is contained in:
parent
5a0de0115d
commit
c579994530
@ -164,7 +164,7 @@ namespace
|
|||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
if (message)
|
if (message)
|
||||||
std::cout << message <<": ";
|
std::cout << message <<": " << std::flush;
|
||||||
if (!read_from_tty(pass1))
|
if (!read_from_tty(pass1))
|
||||||
return false;
|
return false;
|
||||||
if (verify)
|
if (verify)
|
||||||
|
Loading…
Reference in New Issue
Block a user