mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 19:18:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
8760f877e1
@ -994,7 +994,9 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
|||||||
utf8_copy(&tmp_gc.data, &gc->data);
|
utf8_copy(&tmp_gc.data, &gc->data);
|
||||||
tmp_gc.attr = tmp_gc.attr & ~GRID_ATTR_CHARSET;
|
tmp_gc.attr = tmp_gc.attr & ~GRID_ATTR_CHARSET;
|
||||||
tmp_gc.attr |= gc->attr & GRID_ATTR_CHARSET;
|
tmp_gc.attr |= gc->attr & GRID_ATTR_CHARSET;
|
||||||
tmp_gc.flags = gc->flags & ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
tmp_gc.flags = gc->flags;
|
||||||
|
tmp_gc.flags &= ~(GRID_FLAG_FGRGB|GRID_FLAG_BGRGB);
|
||||||
|
tmp_gc.flags &= ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||||
tmp_gc.flags |= s->sel.cell.flags &
|
tmp_gc.flags |= s->sel.cell.flags &
|
||||||
(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||||
ttyctx.cell = &tmp_gc;
|
ttyctx.cell = &tmp_gc;
|
||||||
|
Loading…
Reference in New Issue
Block a user