aboutsummaryrefslogtreecommitdiff
path: root/term.h
diff options
context:
space:
mode:
Diffstat (limited to 'term.h')
-rw-r--r--term.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/term.h b/term.h
index fd3b0d8..4498c57 100644
--- a/term.h
+++ b/term.h
@@ -20,6 +20,14 @@
#define TRUECOLOR(r,g,b) (1 << 24 | (r) << 16 | (g) << 8 | (b))
#define IS_TRUECOL(x) (1 << 24 & (x))
+/* Arbitrary sizes */
+#define UTF_INVALID 0xFFFD
+#define UTF_SIZ 4
+#define ESC_BUF_SIZ (128*UTF_SIZ)
+#define ESC_ARG_SIZ 16
+#define STR_BUF_SIZ ESC_BUF_SIZ
+#define STR_ARG_SIZ ESC_ARG_SIZ
+
enum glyph_attribute {
ATTR_NULL = 0,
ATTR_BOLD = 1 << 0,