public void SetWindowSize(int width, int height) { FakeConsole.SetWindowSize(width, height); if (!HeightAsBuffer) { if (width != cols || height != rows) { SetBufferSize(width, height); cols = width; rows = height; } } ProcessResize(); }