Skip to content

ANSI Terminal Escape appearing in Buffers

rocky edited this page Mar 10, 2018 · 2 revisions

This isn't strictly a realgud problem so much as an Emacs problem.

Some of the debuggers like ipdb,node-inspect, and trepanjs output ANSI Terminal escape codes.

One coarse solution is to set the TERM environment to "dumb" or "emacs", and then programs won't produce such sequences.

In Emacs:

(setenv "TERM" "dumb")