mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user