ldata[start.x] &= ~ATTR_WRAPPED;
ldata[start.x] &= ~LATTR_WRAPPED;
static void erase_lots(int line_only, int from_begin, int to_end){    pos start, end;    int erase_lattr;    unsigned long *ldata;    if (line_only) {	start.y = curs.y;	start.x = 0;	end.y = curs.y + 1;	end.x = 0;	erase_lattr = FALSE;    } else {	start.y = 0;	start.x = 0;	end.y = rows;	end.x = 0;	erase_lattr = TRUE;    }    if (!from_begin) {	start = curs;    }    if (!to_end) {	end = curs;    }    check_selection(start, end);    /* Clear screen also forces a full window redraw, just in case. */    if (start.y == 0 && start.x == 0 && end.y == rows)	term_invalidate();    ldata = lineptr(start.y);    while (poslt(start, end)) {	if (start.y == cols && !erase_lattr)	    ldata[start.x] &= ~ATTR_WRAPPED;	else	    ldata[start.x] = erase_char;	if (incpos(start) && start.y < rows)	    ldata = lineptr(start.y);    }}