/// <summary> /// Initializes a new instance of the <see cref="TextScreen"/> class. /// </summary> /// <param name="textDevice">The text device.</param> public TextScreen(ITextDevice textDevice) { this.textDevice = textDevice; width = textDevice.Width; height = textDevice.Height; foreground = TextColor.Black; background = TextColor.White; ClearScreen(); }