fix(ess): invisible output to terminal

Only necessary for Emacs <= 28, it seems.

Fix: #6455
Ref: emacs-ess/ESS#1193
This commit is contained in:
Henrik Lissner
2025-04-16 22:59:15 -04:00
parent 671e03b0a1
commit 0e7997a099
2 changed files with 16 additions and 0 deletions

View File

@ -121,3 +121,15 @@
(use-package! quarto-mode
:mode (("\\.[qQ][mM][dD]" . poly-quarto-mode)))
;; See emacs-ess/ESS#1193
(use-package! xterm-color
:when (< emacs-major-version 29)
:defer t
:init
(add-hook! 'inferior-ess-mode-hook
(setq-local ansi-color-for-comint-mode nil)
(add-hook 'comint-preoutput-filter-functions #'xterm-color-filter nil t))
:config
(setq xterm-color-use-bold t))

View File

@ -14,3 +14,7 @@
(package! company-stan :pin "150bbbe5fd3ad2b5a3dbfba9d291e66eeea1a581"))
(when (modulep! :checkers syntax -flymake)
(package! flycheck-stan :pin "150bbbe5fd3ad2b5a3dbfba9d291e66eeea1a581")))
(when (< emacs-major-version 29)
;; See emacs-ess/ESS#1193
(package! xterm-color :pin "2ad407c651e90fff2ea85d17bf074cee2c022912"))