diff options
author | Miha Rihtaršič <miha@kamnitnik.top> | 2021-10-05 08:53:36 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-05 08:53:36 +0200 |
commit | 0fa2279b90bf5a638d8377032b71135e1374e8fb (patch) | |
tree | b37e17ffbdadfc3b157ab33a98849226b0c6fed1 /lib/malloc.c | |
parent | 21dcb9830a46a6ed2c613e496b91f611ba7f6a27 (diff) | |
download | emacs-0fa2279b90bf5a638d8377032b71135e1374e8fb.tar.gz emacs-0fa2279b90bf5a638d8377032b71135e1374e8fb.tar.bz2 emacs-0fa2279b90bf5a638d8377032b71135e1374e8fb.zip |
Add support for 256-color and 24bit ANSI colors in ansi-color
* lisp/ansi-color.el (ansi-color--code-as-hex): New function to
convert from 256-color and 24-bit ANSI codes.
(ansi-color--face-vec-face): Add support for ANSI color codes greater
than 16
(ansi-color--update-face-vec): Add support for ANSI codes 38 and 48
which can specify 256-color and 24bit ANSI colors.
* test/lisp/ansi-color-tests.el (ansi-color-tests--strings): Add tests
for ANSI codes 38 and 34
Diffstat (limited to 'lib/malloc.c')
0 files changed, 0 insertions, 0 deletions