clear_cc(ldata, x-1); clear_cc(ldata, x);
static void check_boundary(Terminal *term, int x, int y){    termline *ldata;    /* Validate input coordinates, just in case. */    if (x == 0 || x > term->cols)	return;    ldata = scrlineptr(y);    if (x == term->cols) {	ldata->lattr &= ~LATTR_WRAPPED2;    } else {	if (ldata->chars[x].chr == UCSWIDE) {	    ldata->chars[x-1].chr = ' ' | CSET_ASCII;	    ldata->chars[x] = ldata->chars[x-1];	}    }}