]> git.eshelyaron.com Git - emacs.git/commit
Add support for 256-color and 24bit ANSI colors in term-mode
authorMiha Rihtaršič <miha@kamnitnik.top>
Sat, 25 Sep 2021 21:28:08 +0000 (23:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 5 Oct 2021 06:54:00 +0000 (08:54 +0200)
commit76895fcd0b667eadd78bfe6cf51619f8b00e157f
tree976c8dabaa3c5a4dc23451e534c26cdb15f8628f
parent0fa2279b90bf5a638d8377032b71135e1374e8fb
Add support for 256-color and 24bit ANSI colors in term-mode

(term-ansi-face-already-done): Make obsolete
(term--maybe-brighten-color): Remove
(term--color-as-hex): New function
(term-handle-colors-array): Make obsolete in favour of the new
function 'term--handle-colors-list'.
(term--handle-colors-list): New function, that can also handle ANSI
codes 38 and 48.
(term-handle-ansi-escape): Use it

* test/lisp/term-tests.el (ansi-test-strings): Add tests for 256-color
and 24bit ANSI colors
etc/NEWS
etc/e/README
etc/e/eterm-color
etc/e/eterm-color.ti
etc/e/eterm-direct [new file with mode: 0644]
lisp/term.el
test/lisp/term-tests.el