[PR #3316] prevent double handling of tab in wpf control #25325

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

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

State: closed
Merged: Yes


Summary of the Pull Request

The WPF control was sending the tab character to the pty twice because in Win32-land tab comes in as both a WM_CHAR and WM_KEYDOWN event. This is contrary to UWP which only gets a key event for tab.

Validation Steps Performed

VS terminal was patched to verify that the terminal no longer double tabs.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3316 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request The WPF control was sending the tab character to the pty twice because in Win32-land tab comes in as both a WM_CHAR and WM_KEYDOWN event. This is contrary to UWP which only gets a key event for tab. ## Validation Steps Performed VS terminal was patched to verify that the terminal no longer double tabs.
claunia added the pull-request label 2026-01-31 09:08:45 +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#25325