This commit is contained in:
JustArchi
2020-11-11 21:19:29 +01:00
parent cc923523be
commit d126824dfd

View File

@@ -256,8 +256,6 @@ namespace ArchiSteamFarm.NLog {
}
private static string ConsoleReadLineMasked(char mask = '*') {
StringBuilder result = new StringBuilder();
using CancellationTokenSource cts = new CancellationTokenSource();
try {
@@ -265,6 +263,8 @@ namespace ArchiSteamFarm.NLog {
Utilities.InBackground(() => BeepUntilCanceled(token));
StringBuilder result = new StringBuilder();
ConsoleKeyInfo keyInfo;
while ((keyInfo = Console.ReadKey(true)).Key != ConsoleKey.Enter) {