cc_check(line);
static void resizeline(Terminal *term, termline *line, int cols){    int i, oldlen;    if (line->cols != cols) {	/*	 * This line is the wrong length, which probably means it	 * hasn't been accessed since a resize. Resize it now.	 */	oldlen = line->cols;	line->chars = sresize(line->chars, cols, TTYPE);	line->cols = cols;	for (i = oldlen; i < cols; i++)	    line->chars[i] = term->basic_erase_char;    }}