xref: /original-bsd/usr.bin/window/wwclreos.c (revision c3e32dec)
1 /*
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Edward Wang at The University of California, Berkeley.
7  *
8  * %sccs.include.redist.c%
9  */
10 
11 #ifndef lint
12 static char sccsid[] = "@(#)wwclreos.c	8.1 (Berkeley) 06/06/93";
13 #endif /* not lint */
14 
15 #include "ww.h"
16 #include "tt.h"
17 
18 wwclreos(w, row, col)
19 register struct ww *w;
20 {
21 	register i;
22 
23 	wwclreol(w, row, col);
24 	for (i = row + 1; i < w->ww_b.b; i++)
25 		wwclreol(w, i, w->ww_b.l);
26 	/* XXX */
27 	if (!w->ww_noupdate)
28 		wwupdate1(w->ww_i.t, w->ww_i.b);
29 }
30