Echoes DCS control sequences instead of ignoring it #23110

Open
opened 2026-01-31 08:32:41 +00:00 by claunia · 0 comments
Owner

Originally created by @krobelus on GitHub (Apr 4, 2025).

Windows Terminal version

1.22.10731.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

  1. run bash (I tried both in WSL and SSH)
  2. run printf '\ePHELLO\e\\'

Expected Behavior

Nothing should be echoed, since this is a DCS string that has been supported for a while.
I confirmed that my build has the fix for #120 by running git merge-base --is-ancestor acac35023d12f194918a1af388c57b7ea6f0c388 v1.22.10731.0 && echo good.

Actual Behavior

The command echoes HELLO.

I believe that others have encountered this issue as well, which suggests it may be an actual issue in the code.
Still surprising -- because this must have worked previously, so it seems like this may have regressed?

Originally created by @krobelus on GitHub (Apr 4, 2025). ### Windows Terminal version 1.22.10731.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce 1. run bash (I tried both in WSL and SSH) 2. run `printf '\ePHELLO\e\\'` ### Expected Behavior Nothing should be echoed, since this is a DCS string that [has been supported for a while](https://github.com/microsoft/terminal/issues/120). I confirmed that my build has the fix for #120 by running `git merge-base --is-ancestor acac35023d12f194918a1af388c57b7ea6f0c388 v1.22.10731.0 && echo good`. ### Actual Behavior The command echoes `HELLO`. I believe that others have encountered this issue as well, which suggests it may be an actual issue in the code. Still surprising -- because this must have worked previously, so it seems like this may have regressed?
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:32:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23110