mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-06 07:46:29 +02:00
Add printLine support for commands and implement basic UI controls rendering
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user