IPython的接收iTerm2控制字符

问题描述 投票:0回答:1

如果我初始化IPython中使用iTerm2,然后按回车IPython中接收额外的控制字符。如何调试呢?

我使用bash,而不是zsh的审判和iTerm2同样的问题发生。我没有在终端默认来砸它遇到问题。也尝试了不同的键盘和新的IPython配置文件。似乎是iTerm2或壳被加载的东西。

苹果10.14.3

$ ipython                                                                                                                                                                                                                                                                                                          
Python 3.7.2 (default, Dec 27 2018, 07:35:06)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.0.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]:

^[[21;1RIn [1]:
bash ipython zsh iterm2
1个回答
0
投票

看起来这是一个错误。更新IPython的和违约iTerms颜色主题和问题解决:https://github.com/ipython/ipython/issues/11336

© www.soinside.com 2019 - 2024. All rights reserved.