From 8b1b2ebdf07b8f867eb95b6048440fafb3ee37aa Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 22 Dec 2019 02:02:12 -0500 Subject: [PATCH] term_esc_rgb: add note about ITU T.416 syntax --- src/lib/render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/render.c b/src/lib/render.c index 182796b63..dff9fc0bc 100644 --- a/src/lib/render.c +++ b/src/lib/render.c @@ -303,6 +303,8 @@ term_esc_rgb(notcurses* nc __attribute__ ((unused)), FILE* out, int esc, return -1; }*/ #define RGBESC1 "\x1b" "[" + // we'd like to use the proper ITU T.416 colon syntax i.e. "8:2::", but it is + // not supported by several terminal emulators :/. #define RGBESC2 "8;2;" // rrr;ggg;bbbm char rgbesc[] = RGBESC1 " " RGBESC2 " ";