Skip to content

Commit

Permalink
common/password: flush confirm prompt before user input
Browse files Browse the repository at this point in the history
Co-authored-by: Mike <[email protected]>
  • Loading branch information
jeffro256 and tankf33der committed Dec 26, 2024
1 parent 941ecef commit c99c07b
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 c99c07b

Please sign in to comment.