summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 14:13:37 +0000
committernicm <nicm>2020-05-16 14:13:37 +0000
commit471f697423df33d535a7cc1fac5f01f718969e34 (patch)
tree3060221d4333d378e09b49fdaa862ce6cd001d29 /style.c
parent0dd19442061ac92b6d9b61a91e4b262c2f08921f (diff)
Add an attribute for ACS.
Diffstat (limited to 'style.c')
-rw-r--r--style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/style.c b/style.c
index 6ba4c524..da3b4c78 100644
--- a/style.c
+++ b/style.c
@@ -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 = ",";