internal static int Output(StringPtr Str) { if (RequiresEmulation) { return(Emulate(Str)); } else { Console.Write(Str); return(ANSI.Strip(Str)?.Length ?? 0); } }
public static int Write(StringPtr Str) { ActiveScreen.Add(new TerminalText(Str)); return(ANSI.Strip(Str)?.Length ?? 0); }