diff options
Diffstat (limited to 'src/common/password.cpp')
-rw-r--r-- | src/common/password.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/password.cpp b/src/common/password.cpp index 7ba3fcb42..b3c51128f 100644 --- a/src/common/password.cpp +++ b/src/common/password.cpp @@ -162,6 +162,13 @@ namespace if (!aPass.empty()) { aPass.pop_back(); + if (!hide_input) + std::cout << "\b\b\b \b\b\b" << std::flush; + } + else + { + if (!hide_input) + std::cout << "\b\b \b\b" << std::flush; } } else |