prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.37k stars 716 forks source link

The 'prompt' does not respond on Windows7 and Pycharm #825

Open BlueRhino opened 5 years ago

BlueRhino commented 5 years ago

I copied the code for this tutorials page ‘Loop The REPL’.And I ran it on PyCharm.I typed 123 and hit enter, but there was no response. 2 I used: Windows7 SP1 X64 Python3.7 python-prompt-toolkit 2.0.8 Pycharm2018.3 And the Run/Debug Configuration is 3

jonathanslenders commented 5 years ago

I wonder whether this emulates a Window console or a vt100 terminal. I'm not sure what's going on, but I have a look when I have time. Can I assume the code works fine outside of PyCharm in a console window?

BlueRhino commented 5 years ago

Thanks for your reply.And the code fine outside of Pycharm.