Add printLine support for commands and implement basic UI controls rendering

This commit is contained in:
Stone_Red
2026-06-08 19:51:22 +02:00
parent fc71af028f
commit 8b900c9d58
14 changed files with 178 additions and 29 deletions
+1 -5
View File
@@ -77,15 +77,11 @@ public class TerminalProcess : Process
}
else
{
bool found = CommandManager.TryExecute(cmd);
bool found = CommandManager.TryExecute(cmd, line => PrintLine(line));
if (!found)
{
PrintLine($"\"{cmd}\" is not a command");
}
else
{
PrintLine("Command executed. (Output sent to background console)");
}
}
}
UpdateDisplay();