* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)clrtoeol.c 5.1 (Berkeley) %G%";
* This routine clears up to the end of line
end
= &win
->_y
[y
][win
->_maxx
];
for (sp
= maxx
; sp
< end
; sp
++)
* update firstch and lastch for the line
touchline(win
, y
, win
->_curx
, win
->_maxx
- 1);
fprintf(outf
, "CLRTOEOL: minx = %d, maxx = %d, firstch = %d, lastch = %d\n", minx
, maxx
- win
->_y
[y
], win
->_firstch
[y
], win
->_lastch
[y
]);