mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-08 07:46:29 +02:00
Add printLine support for commands and implement basic UI controls rendering
This commit is contained in:
@@ -8,9 +8,9 @@ public sealed class HaltCommand : ICommand
|
||||
|
||||
public string Description => "Halt the system";
|
||||
|
||||
public void Execute(string? arguments)
|
||||
public void Execute(string? arguments, Action<string> printLine)
|
||||
{
|
||||
Console.WriteLine("Halting system...");
|
||||
printLine("Halting system...");
|
||||
Environment.Exit(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user