[PR #16335] Fix dwControlKeyState always including ENHANCED_KEY #30899

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

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

State: closed
Merged: Yes


Since all VT parameters are treated to be at least 1 (and 1 if they're
absent or 0), modifierParam > 0 was always true. This meant that
ENHANCED_KEY was always being set. It's unclear why ENHANCED_KEY
was used there, but it's likely not needed in general.

Closes #16266

Validation Steps Performed

  • Can't test this unless we fix the win32 input mode issue #16343 ❌
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16335 **State:** closed **Merged:** Yes --- Since all VT parameters are treated to be at least 1 (and 1 if they're absent or 0), `modifierParam > 0` was always true. This meant that `ENHANCED_KEY` was always being set. It's unclear why `ENHANCED_KEY` was used there, but it's likely not needed in general. Closes #16266 ## Validation Steps Performed * Can't test this unless we fix the win32 input mode issue #16343 ❌
claunia added the pull-request label 2026-01-31 09:43:41 +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#30899