mirror of
https://github.com/tmux/tmux.git
synced 2025-11-03 16:46:18 +00:00
Add noattr and use in mode-style to allow whether attributes are ignored
or used to be configured. GitHub issue 4498.
This commit is contained in:
3
screen.c
3
screen.c
@@ -577,8 +577,7 @@ screen_select_cell(struct screen *s, struct grid_cell *dst,
|
||||
if (COLOUR_DEFAULT(dst->bg))
|
||||
dst->bg = src->bg;
|
||||
utf8_copy(&dst->data, &src->data);
|
||||
dst->attr = dst->attr & ~GRID_ATTR_CHARSET;
|
||||
dst->attr |= src->attr & GRID_ATTR_CHARSET;
|
||||
dst->attr = src->attr;
|
||||
dst->flags = src->flags;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user