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.13k stars 716 forks source link

Incorrect line wrapping when content does not fit the window #327

Open greschd opened 8 years ago

greschd commented 8 years ago

When running xonsh (http://xon.sh) with the python-prompt-toolkit shell type, the current path does not wrap if it does not fit the window:

screenshot

When typing commands, the output is not visible, but appears to be "off screen".

I brought the issue up with the xonsh developers, but since this only affects the python-prompt-toolkit shell type, they asked me to bring up the issue here. See https://groups.google.com/forum/#!topic/xonsh/FK4rnwf-pus

If you wish to investigate this, I'm sure the xonsh developers would be very willing to help in determining the exact source of this, and if it is actually a bug in python-prompt-toolkit or xonsh.

jonathanslenders commented 8 years ago

Thanks for reporting this issue, @greschd! I'll have a look at the issue.