* fhandler_console.cc (dev_console::save_restore): Save entire line of current
cursor position.
This commit is contained in:
parent
e558dbbeaf
commit
7bdf8f2e1a
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-10 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_console.cc (dev_console::save_restore): Save entire line of
|
||||||
|
current cursor position.
|
||||||
|
|
||||||
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
* fhandler_console.cc (fhandler_console::save_restore): Save only until
|
* fhandler_console.cc (fhandler_console::save_restore): Save only until
|
||||||
|
|
|
@ -1457,8 +1457,9 @@ dev_console::save_restore (HANDLE h, char c)
|
||||||
if (c == 'h') /* save */
|
if (c == 'h') /* save */
|
||||||
{
|
{
|
||||||
fillin (h);
|
fillin (h);
|
||||||
save_bufsize.Y = dwEnd.Y + 1; /* Assume starting from 0/0 */
|
|
||||||
save_bufsize.X = b.dwSize.X;
|
save_bufsize.X = b.dwSize.X;
|
||||||
|
if ((save_bufsize.Y = dwEnd.Y + 2) > b.dwSize.Y)
|
||||||
|
save_bufsize.X = b.dwSize.Y;
|
||||||
|
|
||||||
if (save_buf)
|
if (save_buf)
|
||||||
cfree (save_buf);
|
cfree (save_buf);
|
||||||
|
|
Loading…
Reference in New Issue