version 1.24, 2019/09/15 21:42:57 |
version 1.25, 2020/05/16 14:13:37 |
|
|
#include "tmux.h" |
#include "tmux.h" |
|
|
/* Mask for bits not included in style. */ |
/* Mask for bits not included in style. */ |
#define STYLE_ATTR_MASK (~GRID_ATTR_CHARSET) |
#define STYLE_ATTR_MASK (~0) |
|
|
/* Default style. */ |
/* Default style. */ |
static struct style style_default = { |
static struct style style_default = { |
|
|
colour_tostring(gc->bg)); |
colour_tostring(gc->bg)); |
comma = ","; |
comma = ","; |
} |
} |
if (gc->attr != 0 && gc->attr != GRID_ATTR_CHARSET) { |
if (gc->attr != 0) { |
xsnprintf(s + off, sizeof s - off, "%s%s", comma, |
xsnprintf(s + off, sizeof s - off, "%s%s", comma, |
attributes_tostring(gc->attr)); |
attributes_tostring(gc->attr)); |
comma = ","; |
comma = ","; |