Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-03-30 15:10:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-03-30 15:10:13 +0400
commitf42da31ad6985867c9098eea4c6eab7576c10bf0 (patch)
treec15b594213700e92a0d3f5e00f6e94232ef27d31 /winsup/cygwin/fhandler.h
parent0694d8d3109d10be3c016d5f144811c618602111 (diff)
* fhandler.h (class fhandler_console): Add members `savebufsiz' and
`savebuf' to allow save/restore of screen. * fhandler_console.cc (fhandler_console::dup): Duplicate savebuf. (fhandler_console::fhandler_console): Initialize `savebufsiz' and `savebuf'. (fhandler_console::char_command): Add terminal capabilities "save screen content" = \E[?47h and "restore screen content" = \E[?47l.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 239aa8650..a6ad7cb87 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -630,6 +630,10 @@ private:
/* saved cursor coordinates */
int savex, savey;
+ /* saved screen */
+ COORD savebufsiz;
+ PCHAR_INFO savebuf;
+
struct
{
short Top, Bottom;