nodejs-repl.el
nodejs-repl.el copied to clipboard
How to remove warning message
Currently, I see a message in the repl saying:
.editor
// Entering editor mode (^D to finish, ^C to cancel)
console.log(1+4);
5
undefined
.>.
Q1. How do I get rid of the text "Entering editor mode..."? Q2. Also, how do I change the prompt to just "> " instead of ".>."
ah - making the following change fixes the prompt:
[nodejs-repl.el]
...
542 (apply 'make-comint nodejs-repl-process-name "env" nil
543 `("TERM=dumb" ,node-command ,@nodejs-repl-arguments "-e" ,nodejs-repl-code)))