emacs strips away all ansi color codes in shells

前端 未结 2 714
别那么骄傲
别那么骄傲 2021-02-19 10:23

I\'m using emacs 24 on OS X and have the strange problem that I\'m unable to see any color codes. Emacs seems to just ignore them. My motivation is to see colored output from cm

相关标签:
2条回答
  • 2021-02-19 10:48

    I can definitely say it's working fine for me with just (ansi-color-for-comint-mode-on). FWIW you can browse my emacs config, but it's fairly big :)

    https://github.com/aufflick/emacs.d

    0 讨论(0)
  • 2021-02-19 10:54

    So it turned out that the problem was caused by zenburn-theme 1.2. There was a bug there with the ansi-color-names-vector that's fixed in version 1.3 (released just now). If you're experiencing a similar problem make sure you upgrade your version of zenburn.

    0 讨论(0)
提交回复
热议问题