Discussion:
[Mlterm-dev-en] mlterm and truecolor
Amadeusz Sławiński
2015-09-03 17:04:53 UTC
Permalink
Hi,

while running my truecolor test script
(https://raw.githubusercontent.com/amade/scripts/master/misc/colors-truecolor.sh)
in mlterm I noticed it's bit inconsitent with simulating truecolor
color space. I attached two screenshots, one is from xterm, which also
maps truecolor to 256 colors and other one is from mlterm.

First issue is that mlterm seems to replace some of dark blue colors
with greys.

Other one is: out of place colors near the bottom.
They seem to be caused by bug in my script, however, xterm seems to
work around it (I assume by falling back to black) if there are missing
numbers in escape sequence

Following command should probably produce black (or near black?):
echo -e "\e[1;1H\e[48;2;6;0;0m \e[1;1H\e[48;2;6;0;m "
however it produces dark blue, it's caused by missing color in second
escape sequence (between ';' and 'm'). It seems that mlterm assumes
that missing color is 0xff instead of 0x0?

While on topic of truecolor, are there any plans of having full
truecolor emulation instead of mapping to 256 color space?


Amadeusz
Araki Ken
2016-03-13 11:00:43 UTC
Permalink
Hi,

I'm sorry to reply late.

From: Amadeusz Sławiński <***@asmblr.net>
Subject: [Mlterm-dev-en] mlterm and truecolor
Date: Thu, 3 Sep 2015 17:04:53 +0000
Post by Amadeusz Sławiński
while running my truecolor test script
(https://raw.githubusercontent.com/amade/scripts/master/misc/colors-truecolor.sh)
in mlterm I noticed it's bit inconsitent with simulating truecolor
color space. I attached two screenshots, one is from xterm, which also
maps truecolor to 256 colors and other one is from mlterm.
First issue is that mlterm seems to replace some of dark blue colors
with greys.
Other one is: out of place colors near the bottom.
They seem to be caused by bug in my script, however, xterm seems to
work around it (I assume by falling back to black) if there are missing
numbers in escape sequence
echo -e "\e[1;1H\e[48;2;6;0;0m \e[1;1H\e[48;2;6;0;m "
however it produces dark blue, it's caused by missing color in second
escape sequence (between ';' and 'm'). It seems that mlterm assumes
that missing color is 0xff instead of 0x0?
I fixed it. Thanks.
Post by Amadeusz Sławiński
While on topic of truecolor, are there any plans of having full
truecolor emulation instead of mapping to 256 color space?
Now mlterm 3.7.0 supports it.

Regards,
---
Araki Ken
***@users.sourceforge.net

Loading...