diff options
| author | tobtoht <tob@featherwallet.org> | 2025-01-14 14:30:04 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2025-01-14 14:30:04 +0000 |
| commit | fce0c39e6cf02c01c9d33fca5dcd8e885ecb1a88 (patch) | |
| tree | 3c1d513bda9154f342505089b13f049cbee18b6b /src/common | |
| parent | 386182ff371209c13e450e36afcb98174df2a96e (diff) | |
| parent | 5f39d17a9845fb1627d989288066cadbd9a24335 (diff) | |
| download | monzero-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)
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/password.cpp | 2 |
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) |
