aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRami Ylimäki2017-02-18 13:04:55 +0200
committerEli Zaretskii2017-02-18 13:04:55 +0200
commite463e5762bbe628be3d15da066a90f079a8468b3 (patch)
tree2aa517f3626acbe0dbc73dc7ad5a8ec7d81656c9 /etc
parent464a51ed46990554bed8a9443168c976d6c3c6d3 (diff)
downloademacs-e463e5762bbe628be3d15da066a90f079a8468b3.tar.gz
emacs-e463e5762bbe628be3d15da066a90f079a8468b3.zip
Support 24-bit direct colors on text terminals
* src/term.c (init_tty): Use 24-bit terminal colors if corresponding foreground and background functions are present in terminal type definition. * src/tparam.h: Define prototype for tigetstr. * lisp/term/tty-colors.el (tty-color-define): Convert color palette index to pixel value on 16.7M color terminals. (tty-color-24bit): New function to convert color palette index to pixel value on 16.7M color terminals. (tty-color-desc): Don't approximate colors on 16.7M color terminals. * lisp/term/xterm.el (xterm-register-default-colors): Define all named TTY colors on 16.7M color terminals. * doc/misc/efaq.texi (Colors on a TTY): Add instructions on how to enable direct color TTY mode. * etc/NEWS: Mention direct color TTY mode and point to FAQ.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 73085f626b1..143e4655def 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -77,6 +77,12 @@ modern init systems such as systemd, which manage many of the traditional
77aspects of daemon behavior themselves. '--old-daemon' is now an alias 77aspects of daemon behavior themselves. '--old-daemon' is now an alias
78for '--daemon'. 78for '--daemon'.
79 79
80+++
81** Emacs now supports 24-bit colors on capable text terminals
82Terminal is automatically initialized to use 24-bit colors if the
83required capabilities are found in terminfo. See the FAQ node
84"Colors on a TTY" for more information.
85
80 86
81* Changes in Emacs 26.1 87* Changes in Emacs 26.1
82 88