GUI Project and a small change to ASF (Console.Clear goes boom, when output is redirected).

Frontend docu: http://tscherub.de/ASFGUI.html
This commit is contained in:
tscherub
2016-04-13 15:36:10 +02:00
parent 4a36345635
commit 17b2bc2259
19 changed files with 1924 additions and 2 deletions

View File

@@ -329,8 +329,10 @@ namespace ArchiSteamFarm {
break;
}
result = Console.ReadLine();
if (!Console.IsOutputRedirected) {
Console.Clear(); // For security purposes
ConsoleIsBusy = false;
}
ConsoleIsBusy = false;
}
return string.IsNullOrEmpty(result) ? null : result.Trim();