Ticket #3145 (closed enhancement: fixed)
Support for True Color (16 millions colors)
|Reported by:||akochkov||Owned by:||andrew_b|
|Keywords:||Cc:||egmont@…, mooffie@…, god12@…|
|Branch state:||merged||Votes for changeset:||committed-master|
Now more terminals bring support for 16 million colors (see references below).
Here's a test case for terminal:
It's a common confusion about terminal colors... Actually we have this:
- 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)
The 256 color palete is configured at start, and it's a 6*6*6 cube of colors, each of them defined as a 24bit (8*8*8 rgb) color.
This means that current support can only display 256 *different* colors in the terminal, while truecolor means that you can display 16 milion different colors at the same time.
Truecolor escape codes doesnt uses a color palete. It just specifies the color itself.
Here is terminals discussions:
Now supporting truecolor:
- st (from suckless) - http://lists.suckless.org/dev/1307/16688.html
- konsole (already fixed) https://bugs.kde.org/show_bug.cgi?id=138740
- all libvte based terminals: https://bugzilla.gnome.org/show_bug.cgi?id=704449
- sakura https://bugs.launchpad.net/sakura/+bug/1202564
- Also iterm2 have support for truecolor.
Not supporting truecolor:
P.S. Also sent email to the S-Lang library developers
comment:27 Changed 3 months ago by andrew_b
- Status changed from new to accepted
- Votes for changeset set to andrew_b
- Blocked By 3264 removed
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.19
- Owner set to andrew_b
comment:31 Changed 2 months ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged