FIX Bug where menu wouldnt work
This commit is contained in:
parent
e24652b83e
commit
674c8fc37b
@ -97,6 +97,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (Console.KeyAvailable)
|
if (Console.KeyAvailable)
|
||||||
{
|
{
|
||||||
|
selection = Console.ReadKey().Key;
|
||||||
switch (selection)
|
switch (selection)
|
||||||
{
|
{
|
||||||
case ConsoleKey.L:
|
case ConsoleKey.L:
|
||||||
@ -156,7 +157,6 @@ public static class Tranga_Cli
|
|||||||
PrintMenu(taskManager, taskManager.settings.downloadLocation, logger);
|
PrintMenu(taskManager, taskManager.settings.downloadLocation, logger);
|
||||||
}
|
}
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
selection = Console.ReadKey().Key;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.WriteLine("Tranga_CLI", "Exiting.");
|
logger.WriteLine("Tranga_CLI", "Exiting.");
|
||||||
|
Loading…
Reference in New Issue
Block a user