public unsafe void ClearBrush(BufferBrush brush)
{
for (int i = _width - 1; i >= 0; i--)
for (int j = _height - 1; j >= 0; j--)
{
_buffer[j, i].ForeColor = brush.GetColor(i, j);
_buffer[j, i].BackColor = brush.GetColor(i, j);
_buffer[j, i].CharData = '\0';
}
}