mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-03-27 23:30:45 -06:00
Merge pull request #4549
dc8f6924 password: fix backspace outputting ^? on linux on echoing secure input (moneromooo-monero)
This commit is contained in:
commit
ae5ca0bea1
@ -158,6 +158,13 @@ namespace
|
|||||||
if (!aPass.empty())
|
if (!aPass.empty())
|
||||||
{
|
{
|
||||||
aPass.pop_back();
|
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
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user