From 36383c6f6e78604ace3e217d89201f96b2c0f448 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 4 Jan 2014 23:58:32 +0000 Subject: * fhandler.h: Update copyright. (cltype): New enum. (dev_console::console_attrs): Define struct name. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. * fhandler_console.cc: Update copyright. Throughout, reflect change in arguments to fhandler_console::clear_screeen. (fhandler_console::mouse_aware): Simplify logic slightly. (fhandler_console::scroll_screen): Remove hopefully obsolete win95 code. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. Calculate position based on enum value. (region_split): Change arguments. Simplify. (ReadConsoleOutputWrapper): Remove coord argument since we now always use 0, 0. Send extra arguments to region_split. --- winsup/cygwin/release/1.7.28 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/release') diff --git a/winsup/cygwin/release/1.7.28 b/winsup/cygwin/release/1.7.28 index 8950bb897..1807e5173 100644 --- a/winsup/cygwin/release/1.7.28 +++ b/winsup/cygwin/release/1.7.28 @@ -29,3 +29,6 @@ Bug Fixes - The console buffer should no longer be cleared when the resolution of the console exceeds some magic threshold. Fixes: http://cygwin.com/ml/cygwin/2013-12/threads.html#00406 + +- Fix inadvertent clearing of entire console buffer on clear screen. + See: http://cygwin.com/ml/cygwin/2014-01/msg00011.html -- cgit v1.2.3