memset(BUF_COLOR(sb, row) + col, xtermColorPair(), n);
Char *colors = BUF_COLOR(sb, row); memmove(colors + col + n, colors + col, nbytes); memset(colors + col, xtermColorPair(), n);
ScrnInsertChar (screen, n, size)    /*     * Inserts n blanks in screen at current row, col.  Size is the size of each     * row.     */    register TScreen *screen;    register int n;    int size;{	ScrnBuf sb = screen->visbuf;	int row = screen->cur_row;	int col = screen->cur_col;	register int i, j;	register Char *ptr = BUF_CHARS(sb, row);	register Char *attrs = BUF_ATTRS(sb, row);	int wrappedbit = ScrnTstWrapped(screen, row);	int flags = CHARDRAWN | TERM_COLOR_FLAGS;	ScrnClrWrapped(screen, row); /* make sure the bit isn't moved */	for (i = size - 1; i >= col + n; i--) {		ptr[i] = ptr[j = i - n];		attrs[i] = attrs[j];	}	for (i=col; i<col+n; i++)	    ptr[i] = ' ';	for (i=col; i<col+n; i++)	    attrs[i] = flags;	if_OPT_ISO_COLORS(screen,{	    memset(BUF_COLOR(sb, row) + col, xtermColorPair(), n);	})	if_OPT_DEC_CHRSET({	    memset(BUF_CSETS(sb, row) + col, curXtermChrSet(row), n);	})	if (wrappedbit)	    ScrnSetWrapped(screen, row);	else	    ScrnClrWrapped(screen, row);}