http://blogs.msdn.com/b/timid/archive/2011/06/23/playing-with-window-size.aspx gave the core magic for messing with the console window size. Since then, I’ve seen functions that allow the user to set it to arbitrary values, but I found myself wanting to grow and shrink the window size by some specified delta, e.g. +10 columns, when generating the ‘test pattern’ from yesterdays’ post. Why not? The resulting function handles [int], +/-[int], and [float] as arguments to height and width.
BufferSize? Well, I just set it to 99999 and leave it there. I guess you could play with it if you wanted.