e8962118cd45ead1d319fc3ba7333d068e45307f
* Copyright (c) 1981 Regents of the University of California.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)erase.c 5.4 (Berkeley) %G%";
* This routine erases everything on the window.
reg
char *sp
, *end
, *start
, *maxx
;
fprintf(outf
, "WERASE(%0.2o)\n", win
);
for (y
= 0; y
< win
->_maxy
; y
++) {
end
= &start
[win
->_maxx
];
for (sp
= start
; sp
< end
; sp
++)
touchline(win
, y
, minx
, maxx
- win
->_y
[y
]);
win
->_curx
= win
->_cury
= 0;