ubuntu终端输入回车,但是输出^M

In case anybody else has this problem, it is most likely a problem with the stty terminal line setting rather than a TERM problem. If this happens to you again, try running stty sane and let us know if that fixes it.

运行:

stty sane

问题解决

你可能感兴趣的:(ubuntu系统,python)