with older OS.
* fhandler_console.cc (dev_console::fillin): Ditto for
GetConsoleScreenBufferInfo.
+2014-03-10 Christopher Faylor <me.cygwin2014@cgf.cx>
+
+ * fhandler.h (dev_console::b): Redefine as CONSOLE_SCREEN_BUFFER_INFO
+ for use with older OS.
+ * fhandler_console.cc (dev_console::fillin): Ditto for
+ GetConsoleScreenBufferInfo.
+
2014-03-10 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler_console.cc (dev_console::save_restore): Save entire line of
short Bottom;
} scroll_region;
- CONSOLE_SCREEN_BUFFER_INFOEX b;
+ CONSOLE_SCREEN_BUFFER_INFO b;
COORD dwWinSize;
COORD dwEnd;
{
bool ret;
- b.cbSize = sizeof (b);
- if ((ret = GetConsoleScreenBufferInfoEx (h, &b)))
+ if ((ret = GetConsoleScreenBufferInfo (h, &b)))
{
dwWinSize.Y = 1 + b.srWindow.Bottom - b.srWindow.Top;
dwWinSize.X = 1 + b.srWindow.Right - b.srWindow.Left;