microsoft / microsoft/terminal

Spurious ";1_" printed to screen when clicking on Terminal in a Hyper-V basic session

Open
#15,919 6 comments 2 reactions 0 assignees View on GitHub
Area-Input Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

This has been happening for quite a while, and I bet there's a pretty simple explanation.

It might happen when you activate the Hyper-V `vmconnect` window.

Admittedly, I can't reproduce it on the Windows Evaluation VM with 1.17 to grab a screenshot, but it has happened to me enough times that I know it's lurking in there.

---

> 1. Start a VM running Windows 11+
> 2. Connect to it in Virtual Machine Connection, rejecting the enhanced session prompt
> 3. Launch Terminal
> 4. Focus on something other than the VMC window.
> 5. Click on the Terminal window within the VMC window.
> 6. Observe `;1_` is typed.

Contributor guide

Open the contributing guide

Research direction

Start with the six-step reproduction using a Windows 11+ VM, Virtual Machine Connection in basic session mode, and Terminal. Focus on the interaction between the VMC window and the Terminal window after focus changes. Done means clicking Terminal in this scenario no longer types the spurious `;1_`.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.