Skip to content

Commit

Permalink
accidentally pushed super laggy code to main
Browse files Browse the repository at this point in the history
  • Loading branch information
axellse committed Feb 16, 2024
1 parent eea9bdb commit 8549452
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions TerminalPilot/Parser/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,8 @@ void messagetip(string message)
_tempflag_deletelimity = Console.CursorTop;
while (instance.alive == true)
{
<<<<<<< Updated upstream
char key = Console.ReadKey(true).KeyChar;
=======
ConsoleKeyInfo consoleKeyInfo = Console.ReadKey(true);
char key = consoleKeyInfo.KeyChar;
>>>>>>> Stashed changes
if (key == '\r')
{
_tempflag_linecursorleft = "";
Expand Down Expand Up @@ -156,11 +152,7 @@ void messagetip(string message)
}
}
}
<<<<<<< Updated upstream
else if (key == OsDirectoryManager.GetOsBackSpaceChar())
=======
else if (key == '\b')
>>>>>>> Stashed changes
else if (consoleKeyInfo.Key == ConsoleKey.Backspace)
{
if (Console.CursorLeft > _tempflag_deletelimit | _tempflag_deletelimity != Console.CursorTop)
{
Expand Down

0 comments on commit 8549452

Please sign in to comment.