mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-24 17:13:56 +01:00
Clear RGB flags during selection.
This commit is contained in:
parent
fa64b89ad7
commit
97882f9ce2
@ -994,7 +994,9 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
||||
utf8_copy(&tmp_gc.data, &gc->data);
|
||||
tmp_gc.attr = tmp_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 &
|
||||
(GRID_FLAG_FG256|GRID_FLAG_BG256);
|
||||
ttyctx.cell = &tmp_gc;
|
||||
|
Loading…
Reference in New Issue
Block a user