Skip to content

Commit

Permalink
0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncleardev authored Feb 4, 2023
1 parent 996391b commit 582d953
Show file tree
Hide file tree
Showing 5 changed files with 584 additions and 141 deletions.
18 changes: 3 additions & 15 deletions Apps/Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,9 @@ public static void Update(int StartX, int StartY, int x, int y)
{
Kernel.canvas.DrawFilledRectangle(Kernel.DarkPen, StartX, StartY, x, y);
Kernel.canvas.DrawChar('>', Kernel.font, Kernel.WhitePen, StartX+10, StartY + 10);
Window.DisplayText(CommandExecute.result, StartX + 10, StartY + 34, Kernel.WhitePen);
Input.wX = StartX + 24;
Input.wY = StartY + 10;
Input.TextPen = Kernel.WhitePen;
if (Input.ready)
{
Input.ready = false;
CommandExecute.Main(Input.input);
Input.input = "";
Input.position = 0;
}
else
{
Input.Main();
}
if (Input.Listener()) { CommandExecute.Main(Input.input); Input.input = null; }
Graphic.DisplayText(CommandExecute.result, StartX + 10, StartY + 34, Kernel.WhitePen);
Graphic.DisplayText(Input.input, StartX + 24, StartY + 10, Kernel.WhitePen, true);
}
}
}
Loading

0 comments on commit 582d953

Please sign in to comment.