mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add an attribute for ACS.
This commit is contained in:
4
style.c
4
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 = ",";
|
||||
|
Reference in New Issue
Block a user