diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-23 07:15:17 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-23 07:15:17 +0100 |
commit | 1a612a59361904a2996c8ca8b84e8c76548512b6 (patch) | |
tree | b60a3f878508f49e38da9cdafbbfaab8d275f7c7 /style.c | |
parent | 106e5d07beaacaa977372f8b6a0bcac5f981545b (diff) | |
download | rtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.tar.gz rtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.tar.bz2 rtmux-1a612a59361904a2996c8ca8b84e8c76548512b6.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 = ","; |