void Start() { buffer = new StringBuffer(); UConsole.Executor = executor; UConsole.Buffer = buffer; Thread main = new Thread(() => { try { Program.Main(); } catch (System.Exception e) { UConsole.WriteLine("Exception:\n" + e.Message); } }); main.Start(); }
public static void Main() { UConsole.WriteLine("Hello, world!"); }
public void Enter() { String = input.text; UConsole.WriteLine(input.text); input.text = ""; }