Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Background colour erase is 'ut' not 'be'.



details:   https://anonhg.NetBSD.org/src/rev/a5efffba6a97
branches:  trunk
changeset: 485387:a5efffba6a97
user:      jdc <jdc%NetBSD.org@localhost>
date:      Thu Apr 27 00:21:22 2000 +0000

description:
Background colour erase is 'ut' not 'be'.
Add virtual screen for wnoutrefresh()/doupdate().

diffstat:

 lib/libcurses/curses.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 8569d845f17e -r a5efffba6a97 lib/libcurses/curses.c
--- a/lib/libcurses/curses.c    Wed Apr 26 23:11:20 2000 +0000
+++ b/lib/libcurses/curses.c    Thu Apr 27 00:21:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses.c,v 1.15 2000/04/22 13:29:01 blymn Exp $        */
+/*     $NetBSD: curses.c,v 1.16 2000/04/27 00:21:22 jdc Exp $  */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)curses.c   8.3 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: curses.c,v 1.15 2000/04/22 13:29:01 blymn Exp $");
+__RCSID("$NetBSD: curses.c,v 1.16 2000/04/27 00:21:22 jdc Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -53,7 +53,7 @@
                                         * insert/delete line capabilities
                                         * for quick change on refresh.
                                         */
-char   AM, BE, BS, CA, CC, DA, EO, HC, HL, IN, MI, MS, NC, NS, OS, PC,
+char   AM, UT, BS, CA, CC, DA, EO, HC, HL, IN, MI, MS, NC, NS, OS, PC,
        UL, XB, XN, XT, XS, XX;
 int    PA, cO, nc;
 char   *AC, *AE, *AL, *AS, *BC, *BL, *BT, *CD, *CE, *CL, *CM, *CR, *CS,
@@ -73,6 +73,7 @@
  */
 WINDOW *curscr;                        /* Current screen. */
 WINDOW *stdscr;                        /* Standard screen. */
+WINDOW *__virtscr;                     /* Virtual screen (for doupdate()). */
 int     COLS;                          /* Columns on the screen. */
 int     LINES;                         /* Lines on the screen. */
 int     COLORS;                        /* Maximum colors on the screen */



Home | Main Index | Thread Index | Old Index