aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-16 17:16:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-08-16 17:16:22 +0000
commit9d1de747952d3063693a29548f67e79e82f851c7 (patch)
tree2fdbd66a1340f052283b2856d40a669c8f56f112 /terminal.h
parentMerge branch 'tempus-themes' (diff)
parentselection: modify: no need to check for NULL before calling free() (diff)
Merge branch 'selection-modify-only-use-one-cell-bit'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index f394a5b0..df253434 100644
--- a/terminal.h
+++ b/terminal.h
@@ -46,9 +46,9 @@ struct attributes {
bool confined:1;
bool have_fg:1;
bool have_bg:1;
- uint32_t selected:2;
+ bool selected:1;
bool url:1;
- uint32_t reserved:1;
+ uint32_t reserved:2;
uint32_t bg:24;
};
static_assert(sizeof(struct attributes) == 8, "VT attribute struct too large");