Skip to content

Reset title sequences have stopped working in Windows Termial #17800

@j4james

Description

@j4james

Windows Terminal version

Commit f93347e

Windows build number

10.0.19045.4780

Other Software

No response

Steps to reproduce

  1. Open a WSL bash shell in a recent build of Windows Terminal (I suspect it needs to be 450eec4 or later).
  2. Make sure your shell isn't configured to set the title itself.
  3. Set the title with an OSC 0 sequence: printf "\e]0;Test\e\\"
  4. Note that the title has changed.
  5. Reset the title with a blank OSC 0 sequence: printf "\e]0\e\\"

Expected Behavior

The title should be reset to its starting value. This works correctly in Terminal Preview and also in current builds of OpenConsole.

Actual Behavior

The title is just set to a blank value. The same problem occurs with the DECSWT title sequence too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    Status

    Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions