[PR #3199] Always use a VK in MapVirtualKeyW(..., MAPVK_VK_TO_VSC) #25274

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

Original Pull Request: https://github.com/microsoft/terminal/pull/3199

State: closed
Merged: Yes


Summary of the Pull Request

It was wrong. It is now not wrong.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Some badly-behaved applications prefer to reconstitute a keyboard key out of a scancode and a modifier set.

Validation Steps Performed

I tested less from the original bug!

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3199 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request It was wrong. It is now not wrong. ## PR Checklist * [x] Closes #2873 * [x] CLAlala * [x] Tests added/passed * [ ] Requires documentation to be updated * [x] SIGSEGV Core contributor dump ## Detailed Description of the Pull Request / Additional comments Some badly-behaved applications prefer to reconstitute a keyboard key out of a scancode and a modifier set. ## Validation Steps Performed I tested `less` from the original bug!
claunia added the pull-request label 2026-01-31 09:08:26 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25274