aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-15 06:20:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-15 06:20:10 +0000
commit6b0b3ddcccf27fd08b77945d71409ac26dfe94dc (patch)
tree837f8ae2002a0d1f91871731d370bfda77b9ba51 /terminal.h
parentselection: recognize empty padding cells in a forced linewrap (diff)
parentterm: print: don't pad with spacers if auto-margin is disabled (diff)
Merge branch 'multi-column-special-spacer-value'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 4d1cceff..68259160 100644
--- a/terminal.h
+++ b/terminal.h
@@ -48,6 +48,10 @@ struct attributes {
};
static_assert(sizeof(struct attributes) == 8, "bad size");
+#define CELL_COMB_CHARS_LO 0x40000000ul
+#define CELL_COMB_CHARS_HI 0x400ffffful
+#define CELL_MULT_COL_SPACER 0x40100000ul
+
struct cell {
wchar_t wc;
struct attributes attrs;
@@ -216,8 +220,6 @@ struct terminal {
struct grid alt;
struct grid *grid;
- #define COMB_CHARS_LO 0x40000000ul
- #define COMB_CHARS_HI 0x400ffffful
size_t composed_count;
struct composed *composed;