version 1.113, 2017/02/08 15:49:29 |
version 1.114, 2017/02/08 16:45:18 |
|
|
} |
} |
|
|
/* |
/* |
|
* Any state except print stops the current collection. This is |
|
* an optimization to avoid checking if the attributes have |
|
* changed for every character. It will stop unnecessarily for |
|
* sequences that don't make a terminal change, but they should |
|
* be the minority. |
|
*/ |
|
if (itr->handler != input_print) |
|
screen_write_collect_end(&ictx->ctx); |
|
|
|
/* |
* Execute the handler, if any. Don't switch state if it |
* Execute the handler, if any. Don't switch state if it |
* returns non-zero. |
* returns non-zero. |
*/ |
*/ |
|
|
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; |
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; |
|
|
utf8_set(&ictx->cell.cell.data, ictx->ch); |
utf8_set(&ictx->cell.cell.data, ictx->ch); |
screen_write_cell(&ictx->ctx, &ictx->cell.cell); |
screen_write_collect_add(&ictx->ctx, &ictx->cell.cell); |
|
|
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; |
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; |
|
|