Skip to content

Double-cell characters that get wrapped to the next line not removed from the screen when deleting #2984

@daxian-dbw

Description

@daxian-dbw

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

No exception.

Screenshot

Animation

Animation

Environment data

PS Version: 7.2.0-rc.1
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.1.0
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 91
BufferHeight: 25

Steps to reproduce

  1. Make sure the double-cell character wraps to the next line. It means that there is 1 cell buffer left on the current line for the double-cell character, so that character will be rendered to the next line.
  2. Start to delete characters, from the end, or from the middle of the line.
  3. You will see the double-cell character left behinds even though it's already removed from the buffer.

The GIF's in the screenshot section above are 2 examples.

Expected behavior

Deletion works as expected to remove the character from screen.

Actual behavior

The double-cell characters are left on screen, even though the characters were already removed from the text buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Resolution-Fixed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions