Terminal reports no longer work in Vttest #18674

Open
opened 2026-01-31 06:20:58 +00:00 by claunia · 0 comments
Owner

Originally created by @j4james on GitHub (Oct 13, 2022).

Windows Terminal version

Commit cacf66860f

Windows build number

10.0.19044.2006

Other Software

Vttest

Steps to reproduce

  1. Open a WSL shell in conhost or Terminal
  2. Run vttest.
  3. Select the Private Device Attributes test (menu 6.4).

Expected Behavior

The report received from the terminal should be:

<27> [ ? 1 ; 0 c

Actual Behavior

In conhost it only seems to receive the initial ESC character, while in Terminal it receives nothing at all. And it's not just DA - other reports fail in a similar way.

I think this regression was caused by the recent DECARM merge (PR #13981), but I have no idea why. I'm still investigating.

The weird thing is that it works correctly in all of my own tests and applications. There's just something about the way vttest is reading the input that is causing it to fail.

Originally created by @j4james on GitHub (Oct 13, 2022). ### Windows Terminal version Commit cacf66860f6c175672b3d030dcd166e372b2a8cc ### Windows build number 10.0.19044.2006 ### Other Software Vttest ### Steps to reproduce 1. Open a WSL shell in conhost or Terminal 2. Run `vttest`. 2. Select the _Private Device Attributes_ test (menu 6.4). ### Expected Behavior The report received from the terminal should be: ``` <27> [ ? 1 ; 0 c ``` ### Actual Behavior In conhost it only seems to receive the initial `ESC` character, while in Terminal it receives nothing at all. And it's not just `DA` - other reports fail in a similar way. I think this regression was caused by the recent `DECARM` merge (PR #13981), but I have no idea why. I'm still investigating. The weird thing is that it works correctly in all of my own tests and applications. There's just something about the way vttest is reading the input that is causing it to fail.
claunia added the Needs-TriageResolution-Fix-CommittedIssue-Bug labels 2026-01-31 06:20:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18674