mirror of
https://github.com/tmux/tmux.git
synced 2025-12-22 07:16:06 +00:00
Change noattr to be an explicit attribute in the style so that it works
correctly and does not delete attributes set in the style itself, GitHub issue 4713.
This commit is contained in:
6
screen.c
6
screen.c
@@ -594,8 +594,12 @@ 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 = src->attr;
|
||||
dst->flags = src->flags;
|
||||
|
||||
if (dst->attr & GRID_ATTR_NOATTR)
|
||||
dst->attr |= (src->attr & GRID_ATTR_CHARSET);
|
||||
else
|
||||
dst->attr |= src->attr;
|
||||
}
|
||||
|
||||
/* Reflow wrapped lines. */
|
||||
|
||||
Reference in New Issue
Block a user