diff --git a/Program.cs b/Program.cs index edcba15..585ab1e 100644 --- a/Program.cs +++ b/Program.cs @@ -248,7 +248,7 @@ private static void Console_CancelKeyPress(object sender, ConsoleCancelEventArgs Console.ForegroundColor = ConsoleColor.Cyan; string cmdline = Console.ReadLine(); Console.ResetColor(); - + if (string.IsNullOrWhiteSpace(cmdline)) Environment.Exit(0); string[] cmds = cmdline.Split(' '); string cmd = cmds[0]; switch (cmd.ToLower())