5 ms·
Thanks for this! I knew about 256-color and truecolor modes, but I didn't know about the palette-changing escape sequences. I prefer to use the standard 16 colo
by thanatos519 5y ago
Thanks for this! I knew about 256-color and truecolor modes, but I didn't know about the palette-changing escape sequences. I prefer to use the standard 16 colours for portability, but tweak them where possible for comfort. Now I can do that in a shell script instead of messing with the terminal palette on every computer!
Not gonna use those clunky base16 scripts, though. TL;DR in GNU screen:
$ echo -e '\eP\e]4;0;rgb:01/3f/13\a\e\\'