public void PrintAtColor(ConsoleColor foreground, int x, int y, string text, ConsoleColor?background = null) { DoCommand(this, () => { State = new ConsoleState(foreground, background ?? BackgroundColor, y, x, CursorVisible); Write(text); }); }
public ThreadsafeWriter() { _isWindows = PlatformCheck.IsWindows; _state = State; }