xterm-color comes from use-package

This commit is contained in:
John Doty 2021-08-22 20:06:00 -07:00
parent 54968db079
commit 2f214b4d04

View file

@ -928,8 +928,9 @@
(add-hook 'shell-mode-hook 'my-shell-mode-hook) (add-hook 'shell-mode-hook 'my-shell-mode-hook)
;; xterm-color ;; xterm-color
(require 'xterm-color) (use-package xterm-color :ensure
(progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter) :config
(add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
(setq comint-output-filter-functions (setq comint-output-filter-functions
(remove 'ansi-color-process-output (remove 'ansi-color-process-output
comint-output-filter-functions))) comint-output-filter-functions)))