From 1026377a7c823cb2c55e5fdfa56ba202d498aa86 Mon Sep 17 00:00:00 2001 From: KoalaBear Date: Wed, 2 Dec 2020 10:47:43 +0100 Subject: [PATCH] - Added delay to probably fix #51 --- OpenDirectoryDownloader/Command.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenDirectoryDownloader/Command.cs b/OpenDirectoryDownloader/Command.cs index 46aa7b49..f9dbcdeb 100644 --- a/OpenDirectoryDownloader/Command.cs +++ b/OpenDirectoryDownloader/Command.cs @@ -106,6 +106,7 @@ internal static void ProcessConsoleInput(OpenDirectoryIndexer openDirectoryIndex { if (!Console.KeyAvailable) { + Task.Delay(10).Wait(); continue; } ConsoleKey keyPressed = Console.ReadKey(intercept: true).Key;