Enable terminal emulation in PyCharm

A lot of people have told me, and the PyCharm Release Notes for PyCharm 2.7 reports that PyCharm includes full terminal emulation (I assume this is talking about handling ANSI escape codes for styling and cursor movement), but I can't figure out how.

I have included the Terminal plugin, but when I try to run or debug a python application that uses these escape codes, they just show up in the console:

enter image description here

How do I enable terminal emulation in the PyCharm debugger?

+3


source to share


1 answer


Console and Terminal are two different things in PyCharm. The console is part of the Run and Debug tool windows and is only used to display output from stdout and stderr, while Terminal is a separate tool window and allows you to interact with the system shell. Support for ANSI escape codes in the console was added in version 14 of InteliJ ( https://youtrack.jetbrains.com/issue/IDEA-69880 ) on July 23rd, 2014, and PyCharm 2.7.3 was released on June 18th, 2013. therefore this feature is missing in PyCharm 2.7.



0


source







All Articles