Amadeusz Sławiński
2015-09-03 17:04:53 UTC
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
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