modern syntax for asgops and inits; sccs keywords
[unix-history] / usr / src / usr.bin / window / wwredraw.c
CommitLineData
ef087f7d 1#ifndef lint
60de5df9 2static char sccsid[] = "@(#)wwredraw.c 3.7 %G%";
ef087f7d
EW
3#endif
4
60de5df9
EW
5/*
6 * Copyright (c) 1983 Regents of the University of California,
7 * All rights reserved. Redistribution permitted subject to
8 * the terms of the Berkeley Software License Agreement.
9 */
10
ef087f7d 11#include "ww.h"
e908bfac 12#include "tt.h"
ef087f7d
EW
13
14wwredraw()
15{
16 register i, j;
17 register union ww_char *os;
18
19 (*tt.tt_clear)();
20 for (i = 0; i < wwnrow; i++) {
04d70db4 21 wwtouched[i] = WWU_TOUCHED;
ef087f7d
EW
22 os = wwos[i];
23 for (j = wwncol; --j >= 0;)
24 (os++)->c_w = ' ';
25 }
26}