]> git.eshelyaron.com Git - emacs.git/commit
Add support for "bright" ANSI colors in ansi-color
authorJim Porter <jporterbugs@gmail.com>
Tue, 24 Aug 2021 00:51:05 +0000 (17:51 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 25 Aug 2021 11:57:07 +0000 (13:57 +0200)
commitc8e3347ec01a9ed6dc8d88c2dbbb3a08497e8eb2
treeff82e1f984096c6e2db67304705d98bb9074b77d
parentf09ee98e6877a1b8b33bd9ec976d71f1b2d6d2da
Add support for "bright" ANSI colors in ansi-color

* lisp/ansi-color.el (ansi-bright-color-names-vector): New defcustom.
(ansi-color-bold-is-bright): New defcustom.
(ansi-color--find-face): Sort ANSI codes and check
'ansi-color-bold-is-bright'.
(ansi-color-apply-sequence): Support bright ANSI colors.
(ansi-color--fill-color-map): New function.
(ansi-color-make-color-map): Add bright ANSI colors.
(ansi-color-get-face-1): Add BRIGHT parameter.
* test/lisp/ansi-color-tests.el
(ansi-color-apply-on-region-bold-is-bright-test): New function.
etc/NEWS
lisp/ansi-color.el
test/lisp/ansi-color-tests.el