在使用
M-x term
中的 npm 时,它会生成类似于这样的彩色消息(即使加上 -q 参数):
来自 what-cursor-position
的信息。There are text properties here:
font-lock-face (:foreground "red3" :background "black" :inverse-video nil)
fontified t
这看起来很丑,在其他主题中也很难阅读,是否可以动态更改颜色?例如,更改匹配npm http
、npm ERR!
的文本颜色。
谢谢。
npm config set color false
吗? - Aaron Millerterm-mode
不属于这些库之一。 - Aaron Miller