]> git.eshelyaron.com Git - emacs.git/commit
Add support for "bright" ANSI colors in term-mode
authorJim Porter <jporterbugs@gmail.com>
Thu, 23 Sep 2021 01:39:52 +0000 (18:39 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 23 Sep 2021 20:57:53 +0000 (22:57 +0200)
commitd4a6e42e92ee215659d09b0456032714aab73ca5
treec4f17cd9bc0d3afe1d6ab7e027aa75495edfbb1f
parentceb9da3b7125fbdf0da04a3b158ac1e792c87f4f
Add support for "bright" ANSI colors in term-mode

* list/term.el (ansi-term-color-vector): Add new faces.
(term-color-black, term-color-red, term-color-green, term-color-yellow)
(term-color-blue, term-color-magenta, term-color-cyan, term-color-white):
Inherit from 'ansi-color-COLOR'.
(term-color-bright-black, term-color-bright-red, term-color-bright-green)
(term-color-bright-yellow, term-color-bright-blue)
(term-color-bright-magenta, term-color-bright-cyan)
(term-color-bright-white): New faces.
(term--maybe-brighten-color): New function.
(term-handle-colors-array): Handle bright colors.
* test/lisp/term-tests.el (term-colors, term-colors-bold-is-bright):
New functions.
etc/NEWS
lisp/term.el
test/lisp/term-tests.el