diff options
author | Miha Rihtaršič <miha@kamnitnik.top> | 2021-09-25 23:28:08 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-05 08:54:00 +0200 |
commit | 76895fcd0b667eadd78bfe6cf51619f8b00e157f (patch) | |
tree | 976c8dabaa3c5a4dc23451e534c26cdb15f8628f /etc/e/eterm-color | |
parent | 0fa2279b90bf5a638d8377032b71135e1374e8fb (diff) | |
download | emacs-76895fcd0b667eadd78bfe6cf51619f8b00e157f.tar.gz emacs-76895fcd0b667eadd78bfe6cf51619f8b00e157f.tar.bz2 emacs-76895fcd0b667eadd78bfe6cf51619f8b00e157f.zip |
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
Diffstat (limited to 'etc/e/eterm-color')
-rw-r--r-- | etc/e/eterm-color | bin | 1179 -> 1275 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/etc/e/eterm-color b/etc/e/eterm-color Binary files differindex bd3f5003ae6..99603ba5613 100644 --- a/etc/e/eterm-color +++ b/etc/e/eterm-color |