Skip to content

Commit

Permalink
clicker cursor visible on close
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten committed Oct 31, 2023
1 parent 981c887 commit d83e6c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Projects/Clicker/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ educational example.
switch (Console.ReadKey(true).Key)
{
case ConsoleKey.Enter: break;
case ConsoleKey.Escape: Console.Clear(); return;
case ConsoleKey.Escape:
Console.Clear();
Console.CursorVisible = true;
return;
default: goto MainMenuInput;
}

Expand Down

0 comments on commit d83e6c1

Please sign in to comment.