lxqt / qterminal

A lightweight Qt-based terminal emulator
https://lxqt.github.io
GNU General Public License v2.0
611 stars 153 forks source link

Colons support in RGB definition #78

Closed XVilka closed 5 years ago

XVilka commented 10 years ago

Here's a test case:

printf "\x1b[38:2:255:100:0mTRUECOLOR\x1b[0m\n"

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)

pvanek commented 10 years ago

@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.

pvanek commented 10 years ago

reference: https://gist.github.com/XVilka/8346728

XVilka commented 10 years ago

@pvanek it should be in src/V102Emulation.cpp

hyiltiz commented 2 years ago

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.