aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-01-14 14:30:04 +0000
committertobtoht <tob@featherwallet.org>2025-01-14 14:30:04 +0000
commitfce0c39e6cf02c01c9d33fca5dcd8e885ecb1a88 (patch)
tree3c1d513bda9154f342505089b13f049cbee18b6b
parent386182ff371209c13e450e36afcb98174df2a96e (diff)
parent5f39d17a9845fb1627d989288066cadbd9a24335 (diff)
downloadmonzero-core-fce0c39e6cf02c01c9d33fca5dcd8e885ecb1a88.tar.gz
monzero-core-fce0c39e6cf02c01c9d33fca5dcd8e885ecb1a88.tar.xz
monzero-core-fce0c39e6cf02c01c9d33fca5dcd8e885ecb1a88.zip
Merge pull request #9657
5f39d17 common/password: flush confirm prompt before user input (jeffro256)
-rw-r--r--src/common/password.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/password.cpp b/src/common/password.cpp
index e6dff95ea..c0edf7a78 100644
--- a/src/common/password.cpp
+++ b/src/common/password.cpp
@@ -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)