I'm running emacs on macOS, and I've run into problems with ansi-term
. Using bash itself works fine, but as soon as I run a simple application with a command line interface, my <delete>
and arrow keys break.
Instead of the usual delete behaviour, emacs prints ^h
, and instead of moving in the direction indicated by the arrow keys, emacs prints ^[OA
, ^[OB
, ^[OC
, and ^[OD
. How can I fix this?