Colons support in RGB definition
XVilka opened this issue · 4 comments
Here's a test case:
printf "\x1b[38:2:255:100:0mTRUECOLOR\x1b[0m\n"
- or http://github.com/robertknight/konsole/tree/master/tests/color-spaces.pl
- or https://git.gnome.org/browse/vte/tree/perf/img.sh?h=vte-0-36
Keep in mind that it is possible to use both ';' and ':' as parameters delimiter.
More info about that (mostly links for the various terminals, console applications and true colour support)
@XVilka can you point me to konsole sources where is it handled, please? For me it's quite low priority as I don't see any real use for it. But if it's in konsole it can be quite easily ported to qtermwidget as it's konsole based originally.
reference: https://gist.github.com/XVilka/8346728
It is possible for qterminal
to always set COLORTERM=truecolor
? https://gist.github.com/XVilka/8346728 suggests it should be set by the supporting terminals, and using helix-editor, when I do :set theme<TAB>onedark<ENTER>
, it complains "no true color support". But starting it inside qterminal with COLORTERM=truecolor hx
has no such problem.