[PR #7106] Send ENHANCED_KEY in Win32 input mode in the wpf/uwp controls #26843

Closed
opened 2026-01-31 09:18:27 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


When we added support for win32 input mode, we neglected to pass
ENHANCED_KEY through the two surfaces that would generate events. This
broke arrow keys in much the same way was #2397, but in a different
layer.

While I was working on the WPF control, I took a moment to refactor the
message cracking out into a helper. It's a lot easier on the eyes than
four lines of bit shifting repeated three times.

Fixes #7074

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7106 **State:** closed **Merged:** Yes --- When we added support for win32 input mode, we neglected to pass `ENHANCED_KEY` through the two surfaces that would generate events. This broke arrow keys in much the same way was #2397, but in a different layer. While I was working on the WPF control, I took a moment to refactor the message cracking out into a helper. It's a lot easier on the eyes than four lines of bit shifting repeated three times. Fixes #7074
claunia added the pull-request label 2026-01-31 09:18:27 +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#26843