[PR #16407] Avoid encoding VT via win32 input mode #30913

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

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

State: closed
Merged: Yes


This changeset avoids re-encoding output from AdaptDispatch
via the win32-input-mode mechanism when VT input is enabled.
That is, an AdaptDispatch output like \x1b[C would otherwise
result in dozens of characters of input.

Related to #16343

Validation Steps Performed

  • Replace conhost with this
  • Launch a Win32 application inside WSL
  • ASCII keyboard inputs are represented as single INPUT_RECORDs
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16407 **State:** closed **Merged:** Yes --- This changeset avoids re-encoding output from `AdaptDispatch` via the win32-input-mode mechanism when VT input is enabled. That is, an `AdaptDispatch` output like `\x1b[C` would otherwise result in dozens of characters of input. Related to #16343 ## Validation Steps Performed * Replace conhost with this * Launch a Win32 application inside WSL * ASCII keyboard inputs are represented as single `INPUT_RECORD`s ✅
claunia added the pull-request label 2026-01-31 09:43:47 +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#30913