* terminal.c (_rl_get_screen_size): use wr and wc variable to store
window size.
+2006-11-13 Denis Pilat <denis.pilat@st.com>
+
+ * terminal.c (_rl_get_screen_size): use wr and wc variable to store
+ window size.
+
2006-10-21 Ulrich Weigand <uweigand@de.ibm.com>
* callback.c: Include "xmalloc.h".
CONSOLE_SCREEN_BUFFER_INFO scr;
if (GetConsoleScreenBufferInfo (hConOut, &scr))
{
- _rl_screenwidth = scr.dwSize.X;
- _rl_screenheight = scr.srWindow.Bottom - scr.srWindow.Top + 1;
+ wc = scr.dwSize.X;
+ wr = scr.srWindow.Bottom - scr.srWindow.Top + 1;
}
}
#endif