Backspace in masked password input didn't work on Windows

This commit is contained in:
Ryan Kistner committed 2021-07-17 02:53:38 -06:00
1 parent 7b89e0c1c4
commit c0e837de93
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ namespace DepotDownloader
if (password.Length > 0)
{
password.Remove(password.Length - 1, 1);
Console.Write("\x1B[1D\x1B[1P");
Console.Write("\b \b");
}
continue;