aboutsummaryrefslogtreecommitdiff
path: root/style.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-23 07:15:17 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-23 07:15:17 +0100
commit1a612a59361904a2996c8ca8b84e8c76548512b6 (patch)
treeb60a3f878508f49e38da9cdafbbfaab8d275f7c7 /style.c
parent106e5d07beaacaa977372f8b6a0bcac5f981545b (diff)
downloadrtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.tar.gz
rtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.tar.bz2
rtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.zip
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 = ",";