prompt-toolkit / prompt-toolkit/python-prompt-toolkit
Incorrect line wrapping when content does not fit the window
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
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:

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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the long-path and command-entry behavior described for xonsh with the python-prompt-toolkit shell type, then consult the linked xonsh discussion to determine which project owns the defect. Done means content remains visible and wraps correctly within the terminal window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100