Exemple #1
0
 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);
     });
 }
Exemple #2
0
 public ThreadsafeWriter()
 {
     _isWindows = PlatformCheck.IsWindows;
     _state     = State;
 }