Function: eshell-handle-ansi-color

eshell-handle-ansi-color is a byte-compiled function defined in esh-mode.el.gz.

Signature

(eshell-handle-ansi-color)

Documentation

Handle ANSI color codes.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defun eshell-handle-ansi-color ()
  "Handle ANSI color codes."
  (require 'ansi-color)
  (let ((ansi-color-apply-face-function #'ansi-color-apply-text-property-face))
    (ansi-color-apply-on-region eshell-last-output-start
                                eshell-last-output-end)))