mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-15 16:10:41 +00:00
Closes #3051
This commit is contained in:
@@ -355,8 +355,16 @@ internal static class Logging {
|
|||||||
try {
|
try {
|
||||||
ConsoleKeyInfo keyInfo = Console.ReadKey(true);
|
ConsoleKeyInfo keyInfo = Console.ReadKey(true);
|
||||||
|
|
||||||
if (keyInfo.Key != ConsoleKey.C) {
|
switch (keyInfo.Key) {
|
||||||
continue;
|
case 0:
|
||||||
|
// Linux terminal closing STDIN, we're done here
|
||||||
|
return;
|
||||||
|
case ConsoleKey.C:
|
||||||
|
// User hitting 'c', as expected
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
// Any other input, ignored
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
OnUserInputStart();
|
OnUserInputStart();
|
||||||
|
|||||||
Reference in New Issue
Block a user