Skip to content

Commit

Permalink
Merge pull request #9656
Browse files Browse the repository at this point in the history
c99c07b common/password: flush confirm prompt before user input (jeffro256)
  • Loading branch information
tobtoht committed Jan 14, 2025
2 parents c599916 + c99c07b commit 06f0cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/password.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace
return false;
if (verify)
{
std::cout << "Confirm password: ";
std::cout << "Confirm password: " << std::flush;
if (!read_from_tty(pass2, hide_input))
return false;
if(pass1!=pass2)
Expand Down

0 comments on commit 06f0cd5

Please sign in to comment.