[PR #4856] Enable Passthrough for VT Input Mode in ConPty #25988

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

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

State: closed
Merged: Yes


This commit enables passthrough mode for VT Input Mode in ConPty. This
will be used to pass VT Input from Mouse Mode directly to the app on the
other side.

References

#545 - VT Mouse Mode (Terminal)
#376 - VT Mouse Mode (ConPty)

Detailed Description of the Pull Request / Additional comments

ConHost

  • Set the callback for the InputEngine.
  • Retrieve IsInVirtualTerminalInputMode from the InputBuffer

Adapter (Dispatch)

Retrieve VTInputMode setting from ConHost

Parser

  • Add a callback to passthrough unknown input sequences directly to the
    input queue.
  • If we're in VTInputMode, use the callback

Validation Steps Performed

Tests should still pass.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4856 **State:** closed **Merged:** Yes --- This commit enables passthrough mode for VT Input Mode in ConPty. This will be used to pass VT Input from Mouse Mode directly to the app on the other side. ## References #545 - VT Mouse Mode (Terminal) #376 - VT Mouse Mode (ConPty) ## Detailed Description of the Pull Request / Additional comments ### ConHost - Set the callback for the InputEngine. - Retrieve `IsInVirtualTerminalInputMode` from the InputBuffer ### Adapter (Dispatch) Retrieve `VTInputMode` setting from ConHost ### Parser - Add a callback to passthrough unknown input sequences directly to the input queue. - If we're in VTInputMode, use the callback ## Validation Steps Performed Tests should still pass.
claunia added the pull-request label 2026-01-31 09:13:08 +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#25988