if_OPT_ISO_COLORS(screen,{
if_OPT_EXT_COLORS(screen,{ memset(BUF_FGRND(buf, row), term->sgr_foreground, len); memset(BUF_BGRND(buf, row), term->cur_background, len); }) if_OPT_ISO_TRADITIONAL_COLORS(screen,{
ClearBufRows (	register TScreen *screen,	register int first,	register int last){	ScrnBuf	buf = screen->visbuf;	int	len = screen->max_col + 1;	register int row;	register int flags = TERM_COLOR_FLAGS;	TRACE(("ClearBufRows %d..%d\n", first, last))	for (row = first; row <= last; row++) {	    ScrnClrWrapped(screen, row);	    bzero (BUF_CHARS(buf, row), len);	    memset(BUF_ATTRS(buf, row), flags, len);	    if_OPT_ISO_COLORS(screen,{		memset(BUF_COLOR(buf, row), xtermColorPair(), len);	    })	    if_OPT_DEC_CHRSET({		memset(BUF_CSETS(buf, row), 0, len);	    })