在PyCharm中启用终端仿真 [英] Enable terminal emulation in PyCharm

查看:444
本文介绍了在PyCharm中启用终端仿真的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

许多人告诉我和)和PyCharm 2.7.3于2013年6月18日发布,因此PyCharm 2.7中没有此功能。


Many people have told me and the PyCharm Release Notes for PyCharm 2.7 touts that PyCharm includes full terminal emulation (I assume this is talking about handling of ANSI escape codes for styling and cursor movement) but I can't seem to find out how to enable this.

I've enabled the Terminal plugin but when I try to run or debug a python application which makes use of these escape codes, they are just displayed raw in the console:

How can I enable the terminal emulation in PyCharm's debugger?

解决方案

Console and Terminal are two different things in PyCharm. Console is part of Run and Debug tool windows and is used only to show output from stdout and stderr whereas Terminal is separate tool window and makes it possible to interact with system shell. Support for ANSI escape codes in Console was added in version 14 of InteliJ (https://youtrack.jetbrains.com/issue/IDEA-69880) on 23 Jul 2014 and PyCharm 2.7.3 was released on 18 June 2013 so this feature is not present in PyCharm 2.7.

这篇关于在PyCharm中启用终端仿真的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆