Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse Events Support for Win32 console applications #1863

Closed
nkrepo opened this issue Nov 25, 2021 · 4 comments
Closed

Mouse Events Support for Win32 console applications #1863

nkrepo opened this issue Nov 25, 2021 · 4 comments
Assignees

Comments

@nkrepo
Copy link

nkrepo commented Nov 25, 2021

"OpenSSH for Windows" version
8.6.0.0

Server OperatingSystem
OS Name Microsoft Windows 11 Pro
Version 10.0.22000 Build 22000

Client OperatingSystem
OS Name Microsoft Windows 11 Pro
Version 10.0.22000 Build 22000

What is failing
Mouse events in native Win32 console applications
(far manager, micro, e.t.c)

Expected output
Mouse events send over ssh to the Win32 console application

Actual output
No mouse events pass-through

That is a different issue from #1158
*The conhost.exe version is 10.0.22000.348

@tgauth
Copy link
Collaborator

tgauth commented Jan 7, 2022

@nkrepo, the root cause of this issue is ConPTY. It currently does not support converting VT mouse events into Windows mouse events. The good news is that the console team recently worked on this, and it will be in the next full update version of Windows.

For additional context, please see this GitHub issue: microsoft/terminal#376

To validate, I reproduced your issue with an OpenSSH server OS version: Windows 11 (with conhost.exe version 10.0.22000.194) then verified that the Windows 11 preview I have currently (with conhost.exe version 10.0.22523.1000) does fix it.

@bagajjal
Copy link
Collaborator

@tgauth - please follow up.

@tgauth
Copy link
Collaborator

tgauth commented Feb 4, 2022

@nkrepo - can this be closed? Looks like your conhost.exe version, 10.0.22000.348, is similar to the one I repro'd the issue with.
If the issue persists with a newer version, at least 10.0.22523.1000, then it can be re-opened.

@nkrepo
Copy link
Author

nkrepo commented Feb 4, 2022

@nkrepo - can this be closed? Looks like your conhost.exe version, 10.0.22000.348, is similar to the one I repro'd the issue with. If the issue persists with a newer version, at least 10.0.22523.1000, then it can be re-opened.

it is OK to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants