New REPL: Text display corruption when resizing terminal with multi-line content
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
When the REPL is displaying long content that wraps across multiple lines, resizing the terminal window (either making it larger or smaller) causes text to display incorrectly. The line continuation markers become misaligned, and parts of the output text overlap or display in unexpected positions.
Using Ctrl+'+' to zoom in
Using Ctrl+'-' to zoom out
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-132313
- gh-132360
Contributor guide
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
Review linked PRs gh-132313 and gh-132360 first, since the issue indicates the work has moved there. Reproduce the corruption in the New REPL on Linux by resizing the terminal while long, wrapped content is displayed, then compare the behavior with those PRs. Done means continuation markers and wrapped text remain correctly aligned after resizing.
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
- Mostly clear
- Newbie friendliness
- 20/100