I'm the author of radare and I did this code. So yep :) i know how r2 uses it.
I have added a config var to enable truecolor support. You can run this command
to test. (Using r2 from git)
r2 -e scr.truecolor=true -cecr /bin/ls
"ecr" will create a random color palette
You can run r2 -cecs - to
> * plain ascii
> * ansi escape codes (16 color codes with bold/italic and background)
> * 256 color palette (216 colors+16gray + ansi) (colors are 24bit)
> * 24bit true color (8*8*8 colors (aka 16 milion)
>
Ok, I think we could add it to st without too much problems. But we should think
if it ha
Sorry, I typed that by head. it's ;2; instead of ;5;
Here's a test case
printf "\x1b[38;2;255;100;0mTRUECOLORBITCHES\x1b[0m\n"
According to Wikipedia[1], this is only supported by xterm and konsole.
It's a common confusion about terminal colors... Actually we have this:
* plain ascii
* ansi e
On Wed, Jul 17, 2013 at 08:44:28PM +0200, pancake wrote:
> I've been doing some ansi tests and found that only xterm (not urxvt, vte,
> iterm2,cmd.exe) supports truecolor ansi escape codes.
>
> It is documented in wikipedia, but afaik, only radare2 uses it (when
> enabled).
>
> Do you think th
Hey,
On Wed, Jul 17, 2013 at 08:44:28PM +0200, pancake wrote:
> I've been doing some ansi tests and found that only xterm (not urxvt, vte,
> iterm2,cmd.exe) supports truecolor ansi escape codes.
>
> It is documented in wikipedia, but afaik, only radare2 uses it (when
> enabled).
Do you have t
I've been doing some ansi tests and found that only xterm (not urxvt, vte,
iterm2,cmd.exe) supports truecolor ansi escape codes.
It is documented in wikipedia, but afaik, only radare2 uses it (when enabled).
Do you think that it should be implemented in st or we should stand supporting
the mos