public void ReplaceConsole(ConsoleString newBuffer)
{
this.Console.CursorLeft = this.ConsoleStartLeft;
this.Console.CursorTop = this.ConsoleStartTop;
for (int i = 0; i < newBuffer.Length; i++)
{
this.Console.Write(newBuffer[i]);
}
var newLeft = this.Console.CursorLeft;
var newTop = this.Console.CursorTop;
for (int i = 0; i < this.Buffer.Count - newBuffer.Length; i++)
{
this.Console.Write(" ");
}
this.Console.CursorTop = newTop;
this.Console.CursorLeft = newLeft;
this.Buffer = newBuffer.ToList(); ;
}