mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 23:51:37 +02:00
password: fix backspace outputting ^? on linux on echoing secure input
This commit is contained in:
@@ -158,6 +158,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
|
||||
|
||||
Reference in New Issue
Block a user