diff options
author | Christopher Faylor <me@cgf.cx> | 2014-02-23 03:42:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2014-02-23 03:42:02 +0000 |
commit | 7cb7f645d56df661c875d8f8e0e35ffc3fabec1f (patch) | |
tree | 192096087e369cc1ea45205131456c8af345edcd /winsup/cygwin | |
parent | f1d9e96c44234123292ba38d731d37caafb87608 (diff) | |
download | cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.tar.gz cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.tar.bz2 cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.zip |
* dev_console::scroll_buffer): Reinstate clipping region.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7a3259adf..b92dfadb1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2014-02-22 Christopher Faylor <me.cygwin2014@cgf.cx> + * dev_console::scroll_buffer): Reinstate clipping region. + +2014-02-22 Christopher Faylor <me.cygwin2014@cgf.cx> + * fhandler.h (dev_console::is_fullscreen): Delete. (dev_console::scroll_window): Return bool indicating success. (dev_console::scroll_screen): New function. diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 056efe410..0bee291bd 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -791,7 +791,7 @@ dev_console::scroll_buffer (HANDLE h, int x1, int y1, int x2, int y2, int xn, in sr1.Bottom = sr2.Bottom; dest.X = xn >= 0 ? xn : dwWinSize.X - 1; dest.Y = yn >= 0 ? yn : winBottom; - ScrollConsoleScreenBuffer (h, &sr1, NULL, dest, &fill); + ScrollConsoleScreenBuffer (h, &sr1, &sr2, dest, &fill); #if 0 /* CGF: 2014-01-04 Assuming that we don't need this anymore */ /* ScrollConsoleScreenBuffer on Windows 95 is buggy - when scroll distance |