Backspace in masked password input didn't work on Windows

pull/243/head
Ryan Kistner 4 years ago
parent 7b89e0c1c4
commit c0e837de93

@ -50,7 +50,7 @@ namespace DepotDownloader
if (password.Length > 0) if (password.Length > 0)
{ {
password.Remove(password.Length - 1, 1); password.Remove(password.Length - 1, 1);
Console.Write("\x1B[1D\x1B[1P"); Console.Write("\b \b");
} }
continue; continue;

Loading…
Cancel
Save