Skip to content

DECSTR was incorrectly handled inside the Alternate Screen Buffer #19918

@Xerifer

Description

@Xerifer

Windows Terminal version

1.24.10212.0

Windows build number

10.0.26220.7872

Other Software

PowerShell 7.5.4

Steps to reproduce

Type echo "TestTest`e[?1049h`e[!pTest`e[?1049l" in PowerShell

Expected Behavior

The cursor should remain in place and continue. That's how xterm and tmux handle it.

Actual Behavior

The cursor jumped back to the left-top corner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions