aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJan Beich2020-06-14 03:51:24 +0000
committerEli Zaretskii2020-06-20 11:16:14 +0300
commit50f489b5dc59ba8eacd6dc5bdee98da690a61f2f (patch)
tree0d14e5c3931116e3bc2f98a45dc8c24dee7cf429 /doc
parented08512978812220045ff12941d78b99ed32323f (diff)
downloademacs-50f489b5dc59ba8eacd6dc5bdee98da690a61f2f.tar.gz
emacs-50f489b5dc59ba8eacd6dc5bdee98da690a61f2f.zip
Add fallback for 24-bit terminal color via COLORTERM=truecolor
* src/term.c (init_tty): When COLORTERM=truecolor is defined, override setaf/setab/colors terminfo capabilities with 24-bit color support. * doc/misc/efaq.texi (Colors on a TTY): Mention the possibility to enable 24-bit color via the COLORTERM environment variable. (Bug#41846) Copyright-paperwork-exempt: yes
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/efaq.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index f5f01848f77..8f7ed715b52 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -1595,6 +1595,10 @@ xterm-direct2 xterm with direct-color indexing (old)
1595xterm-direct xterm with direct-color indexing 1595xterm-direct xterm with direct-color indexing
1596@end example 1596@end example
1597 1597
1598If Terminfo database is not available, but 24-bit direct color mode is
1599supported, it can still be enabled by defining the environment
1600variable @env{COLORTERM} to @samp{truecolor}.
1601
1598Terminals with @samp{RGB} capability treat pixels #000001 - #000007 as 1602Terminals with @samp{RGB} capability treat pixels #000001 - #000007 as
1599indexed colors to maintain backward compatibility with applications 1603indexed colors to maintain backward compatibility with applications
1600that are unaware of direct color mode. Therefore the seven darkest 1604that are unaware of direct color mode. Therefore the seven darkest