I was slightly too agressive removing clearok() in revision 1.8.
Add back a clearok(stdscr) for terminals where the startup sequence doesn't clear the screen.
This commit is contained in:
parent
1b61e72004
commit
60f7009432
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: screen.c,v 1.10 2003/01/27 21:09:21 jdc Exp $ */
|
||||
/* $NetBSD: screen.c,v 1.11 2003/02/02 17:52:29 jdc Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1981, 1993, 1994
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)screen.c 8.2 (blymn) 11/27/2001";
|
||||
#else
|
||||
__RCSID("$NetBSD: screen.c,v 1.10 2003/01/27 21:09:21 jdc Exp $");
|
||||
__RCSID("$NetBSD: screen.c,v 1.11 2003/02/02 17:52:29 jdc Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -161,6 +161,8 @@ newterm(char *type, FILE *outfd, FILE *infd)
|
|||
goto error_exit;
|
||||
}
|
||||
|
||||
clearok(new_screen->stdscr, 1);
|
||||
|
||||
if ((new_screen->__virtscr = __newwin(new_screen, new_screen->LINES,
|
||||
new_screen->COLS, 0, 0, FALSE)) == ERR) {
|
||||
delwin(new_screen->curscr);
|
||||
|
|
Loading…
Reference in New Issue