Skip to content

New REPL: Text display corruption when resizing terminal with multi-line content #132267

Open
@ImFeH2

Description

@ImFeH2

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.

Image

Using Ctrl+'+' to zoom in

Image

Using Ctrl+'-' to zoom out

Image

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions