mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Show CPU core count in CLI and add window creation helper methods
This commit is contained in:
@@ -18,6 +18,7 @@ internal class CliProcess() : Process("Cli")
|
||||
Console.Clear();
|
||||
Console.WriteLine("Welcome RemSox!");
|
||||
Console.WriteLine("Type 'help' to see available commands.");
|
||||
Console.WriteLine(Environment.ProcessorCount + " CPU cores detected");
|
||||
Console.Write("> ");
|
||||
|
||||
historyIndex = CommandManager.GetCommandHistory().Count;
|
||||
|
||||
@@ -24,7 +24,7 @@ public class TerminalProcess() : Process("Terminal")
|
||||
|
||||
internal override void Start(string[] args)
|
||||
{
|
||||
window = WindowManager.CreateWindow(this, "Terminal", new Size(400, 300));
|
||||
window = CreateWindow("Terminal", new Size(400, 300), new Point(100, 100));
|
||||
|
||||
PrintLine("RemSox GUI Terminal v1.0");
|
||||
PrintLine("Type 'help' for commands.");
|
||||
|
||||
Reference in New Issue
Block a user