FIX Bug where menu wouldnt work

This commit is contained in:
glax 2023-05-21 15:34:59 +02:00
parent e24652b83e
commit 674c8fc37b

View File

@ -97,6 +97,7 @@ public static class Tranga_Cli
if (Console.KeyAvailable)
{
selection = Console.ReadKey().Key;
switch (selection)
{
case ConsoleKey.L:
@ -156,7 +157,6 @@ public static class Tranga_Cli
PrintMenu(taskManager, taskManager.settings.downloadLocation, logger);
}
Thread.Sleep(200);
selection = Console.ReadKey().Key;
}
logger.WriteLine("Tranga_CLI", "Exiting.");