term->disptext[i]->chars[j].attr = ATTR_INVALID;
term->disptext[i]->chars[j].attr |= ATTR_INVALID;
void term_invalidate(Terminal *term){    int i, j;    for (i = 0; i < term->rows; i++)	for (j = 0; j < term->cols; j++)	    term->disptext[i]->chars[j].attr = ATTR_INVALID;    term_schedule_update(term);}