mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
password: flush cout when prompting for password without newline
This commit is contained in:
parent
8a7b3ff138
commit
2bb2c1b9d7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue