* fhandler_console.cc (dev_console::save_restore): Save entire line of current
cursor position.
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user