Skip to content

Commit

Permalink
brain melting
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushKing committed Jul 28, 2023
1 parent e889c81 commit b8f3def
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified FalconOS/.vs/FalconOS/v17/.suo
Binary file not shown.
4 changes: 1 addition & 3 deletions FalconOS/FalconOS/fcg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public void Run()
{
Console.CursorTop++;
Console.CursorLeft = Console.WindowWidth / 2 - (Console.WindowWidth / 2 / 2);
Console.CursorVisible = false;
Console.Write(new string(' ', Console.WindowWidth / 2));
}
Console.CursorTop = Console.WindowHeight / 2 - (Console.WindowHeight / 2 / 2);
Expand Down Expand Up @@ -191,7 +190,6 @@ public void Run()
{
Console.CursorTop++;
Console.CursorLeft = Console.WindowWidth / 2 - (Console.WindowWidth / 2 / 2);
Console.CursorVisible = false;
Console.Write(new string(' ', Console.WindowWidth / 2));
}
Console.CursorTop = Console.WindowHeight / 2 - (Console.WindowHeight / 2 / 2);
Expand All @@ -218,7 +216,7 @@ public void Run()
input = input.Remove(input.Length - 1, 1);
}
}
else if ((Char.IsLetterOrDigit(key.KeyChar) || key.Key == ConsoleKey.Spacebar) && input.Length < ((Console.WindowWidth / 2) - 3) - 1)
else if ((Char.IsLetterOrDigit(key.KeyChar) || Char.IsSymbol(key.KeyChar) || Char.IsPunctuation(key.KeyChar) || key.Key == ConsoleKey.Spacebar) && input.Length < ((Console.WindowWidth / 2) - 3) - 1)
{
input += key.KeyChar;
}
Expand Down
Binary file modified FalconOS/FalconOS/obj/Debug/net6.0/FalconOS.dll
Binary file not shown.
Binary file modified FalconOS/FalconOS/obj/Debug/net6.0/FalconOS.pdb
Binary file not shown.

0 comments on commit b8f3def

Please sign in to comment.