Skip to content

Commit

Permalink
Fixing closing the app
Browse files Browse the repository at this point in the history
  • Loading branch information
Muaath5 committed Jan 2, 2022
1 parent b93445f commit 32c70c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 32c70c1

Please sign in to comment.