* fhandler_console.cc (dev_console::save_restore): Save entire line of current
cursor position.
This commit is contained in:
parent
cda5aac102
commit
ebfec24391
|
@ -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>
|
||||
|
||||
* 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 */
|
||||
{
|
||||
fillin (h);
|
||||
save_bufsize.Y = dwEnd.Y + 1; /* Assume starting from 0/0 */
|
||||
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)
|
||||
cfree (save_buf);
|
||||
|
|
Loading…
Reference in New Issue