mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
term_esc_rgb: add note about ITU T.416 syntax
This commit is contained in:
parent
d50ee9ec50
commit
8b1b2ebdf0
@ -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 " ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user