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

windows version 'ssh' does not have mouse support (while WSL version of ssh does) #4973

Closed
tigerinus opened this issue Mar 18, 2020 · 6 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@tigerinus
Copy link

Environment

Microsoft Windows NT 10.0.18363.0
Windows Terminal 0.10.761.0
OpenSSH for Windows

Steps to reproduce

  1. Use OpenSSH comes with Windows to log onto a Linux host.
  2. run tmux with set -g mouse on in its conf
  3. split panel and try to select a panel using mouse

Expected behavior

Mouse support should work. (I tried ssh from my Debian WSL and it works)

Actual behavior

Mouse support does not work, if I use OpenSSH that comes with Windows.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 18, 2020
@DHowett-MSFT
Copy link
Contributor

This is a bug in Windows OpenSSH. It is fixed in version 8.

@fejjj
Copy link

fejjj commented Dec 30, 2023

I have version 8.1.0.1 (windows 10) and I have this bug unfortunately.

@zadjii-msft
Copy link
Member

@fejjj you may be seeing PowerShell/Win32-OpenSSH#1990 or PowerShell/Win32-OpenSSH#1863, or something else from their repo. IIRC, mouse support is dependent on the OS version, and I'm not sure which Windows 10 versions actually included the mouse support in conpty.

@fejjj
Copy link

fejjj commented Jan 3, 2024 via email

@lhecker
Copy link
Member

lhecker commented Jan 8, 2024

It's possible to replace conhost.exe in C:\Windows\System32 with a newer version. That said, don't do it, because you risk breaking the OS permanently that way. Upgrading Windows would be a lot safer.

@fejjj
Copy link

fejjj commented Jan 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

5 participants