Skip to content

In some special cases, terminal resize renders exceptions #5375

@wzdong26

Description

@wzdong26

Details

Steps to reproduce

Xterm renders exceptions when the container resizes single-line text content, and can be reproduced using single-line text, and returns to normal after adding enter. For detailed code and demonstration, see the video below. The initial troubleshooting should be that Buffer.resize() renders abnormally for a single line of text.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions