Skip to content

Python 3.13 REPL have issues when typing/deleting single line, that goes wrapped on multiple lines #126614

Open
@XCanG

Description

@XCanG

Bug report

Bug description:

When I tested some things in REPL that running in Windows Terminal on Windows 10 I find out that it have issues when I type or delete characters in first line that's being wrapped on 2nd line.

A better showcase will be this video:

2024-11-09_09-43-50_Python3.13_lq.mp4

Here you can see some line that I'm working with, at some point I was needed to go back and delete characters in first line, here I deleted 3 characters: int with backspace, but what it did is delete whole words and print line with overlapping on existing one, making it unreadable mess. But the actual code is safe, only visual bug showing it wrong.

Then for showcase I added int back and it did in the same way with an error.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-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