Forward from Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131144
RGB color terminal emulations are detectable by their -direct suffix.
I.e.
TERM=xterm-direct
TERM=konsole-direct
TERM=st-direct
TERM=mlterm-direct
TERM=iterm2-direct (iTerm2, MacOS)
We could do color schemes that are more beautiful than the default ones and not error prone to "having the wrong background color" as with the 16 / 256 color TERMs.
Forward from Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131144
RGB color terminal emulations are detectable by their -direct suffix.
I.e.
TERM=xterm-direct
TERM=konsole-direct
TERM=st-direct
TERM=mlterm-direct
TERM=iterm2-direct (iTerm2, MacOS)
We could do color schemes that are more beautiful than the default ones and not error prone to "having the wrong background color" as with the 16 / 256 color TERMs.