commit 37fbccd143ccd7e4aafc00f92fc55d7bf27cf4fa
parent cc2743480199994c0974a6360f42adb40edcffc5
Author: Claudio Alessi <smoppy@gmail.com>
Date: Wed, 7 Sep 2022 11:34:23 +0200
Change UI_BYTE to NUL.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/circo.c b/circo.c
@@ -66,7 +66,7 @@ char *argv0;
#define COLRST "\33[0m"
/* UI colors and attributes */
-#define UI_BYTE 0x01
+#define UI_BYTE 0x00 /* NUL is not allowed in messages */
#define UI_SET(X) UI_BYTE, X
#define UI_RST UI_BYTE, -1
#define UI_WRAP(A,B) UI_SET(B), A, UI_RST