5
0
I am reliant on emacs (version 24.4.1 on Debian) term
and ansi-term
modes. They normally work just like xTerm for me, but when running an interactive program that has a prompt (like the node.js prompt, or the mongoDB prompt), deleting a character makes the entire prompt redraw inline.
For example, when I open the node app and type TEXT
followed by a single backspace, I see
jim@achileus:~$ node
> TEXT> TEX
and when I type LONGER STRING
followed by 13 backspaces I see
jim@achileus:~$ node
> LONGER STRING> LONGER STRIN> LONGER STRI> LONGER STR> LONGER ST> LONGER S> LONGER > LONGER> LONGE> LONG> LON> LO> L>
This error does not occur in emacs shell
but I don't want to use it.
Any insight as to why this is happening, or any clues on how to fix it?
Thanks!
I don't know the answer, but it sounds like a terminal configuration issue, so I'll suggest checking this in case it's relevant: http://stackoverflow.com/a/22091145/324105
– phils – 2015-11-28T02:55:12.237Do you use something like elscreen? – aagaard – 2015-11-28T07:18:08.677
Having the same problem – goFrendiAsgard – 2017-12-06T09:25:31.370
Could it be by any chance related to this: https://emacs.stackexchange.com/questions/9871/extended-cursor-movement-in-terminal-emulator-cha-and-others/10698#10698
– goFrendiAsgard – 2017-12-06T09:41:52.447I install
emacs-snapshot
(the newest development release of emacs), and the problem gone. – goFrendiAsgard – 2017-12-22T14:55:27.343