In Emacs nodejs mode you will get a garbage hint

I am using nodejs-mode on Emacs 24 , but when I type:

 Mx nodejs 

it asks for garbage tips like [0J> , now although I added below

 (setq ansi-color-for-comint-mode t) 

in the emacs file. This still does not work.

anyway, if I find the node directory on Emacs shell-mode , then I get a more annoying prompt, as shown below:

 ryu@ryu :~$ node [1G[0J> [3G 

Does anyone know why he is behaving this way?

+6
source share
1 answer

Finally, I will give up using nodejs-mode for interactive. then refer to here

+1
source

All Articles