diff options
author | nicm <nicm> | 2020-05-16 14:13:37 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 14:13:37 +0000 |
commit | 471f697423df33d535a7cc1fac5f01f718969e34 (patch) | |
tree | 3060221d4333d378e09b49fdaa862ce6cd001d29 /style.c | |
parent | 0dd19442061ac92b6d9b61a91e4b262c2f08921f (diff) | |
download | rtmux-471f697423df33d535a7cc1fac5f01f718969e34.tar.gz rtmux-471f697423df33d535a7cc1fac5f01f718969e34.tar.bz2 rtmux-471f697423df33d535a7cc1fac5f01f718969e34.zip |
Add an attribute for ACS.
Diffstat (limited to 'style.c')
-rw-r--r-- | style.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ #include "tmux.h" /* Mask for bits not included in style. */ -#define STYLE_ATTR_MASK (~GRID_ATTR_CHARSET) +#define STYLE_ATTR_MASK (~0) /* Default style. */ static struct style style_default = { @@ -247,7 +247,7 @@ style_tostring(struct style *sy) colour_tostring(gc->bg)); comma = ","; } - if (gc->attr != 0 && gc->attr != GRID_ATTR_CHARSET) { + if (gc->attr != 0) { xsnprintf(s + off, sizeof s - off, "%s%s", comma, attributes_tostring(gc->attr)); comma = ","; |