microsoft / microsoft/terminal

Releasing both pressed Shift keys (left+right) reports only one

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

Description

### Windows Terminal version

current main

### Windows build number

10.0.19045.5011

### Other Software

_No response_

### Steps to reproduce

1. Activate "debug tap" pane.
- Add the global setting (near the top of your JSON file):
```
"debugFeatures": true
```
- Open a new tab while holding down both left and right Alt .
2. Press and release both Shift keys simultaneously.

### Expected Behavior

There are four reports in the "debug tap" pane:
- The first Shift key was pressed.
- The second Shift key was pressed.
- Some Shift key was released.
- The remaining Shift key was released.

### Actual Behavior

![Image](https://github.com/user-attachments/assets/e4e03c3d-6d12-4b8e-aa9c-625ffda013c2)

There are only three reports in the "debug tap" pane:
- The first Shift key was pressed.
- The second Shift key was pressed.
- Some Shift key was released.

Contributor guide

Open the contributing guide

Research direction

Reproduce this in Windows Terminal by enabling the debug tap pane with the global "debugFeatures": true setting, opening a tab while holding both Alt keys, and pressing and releasing both Shift keys. Compare the debug tap reports for the two press and two release events; done means both Shift releases are reported separately, matching the expected four reports.

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.