-
Notifications
You must be signed in to change notification settings - Fork 779
Mouse Events Support #1158
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
Comments
This is not currently supported |
+1 It's just a matter of mapping the mouse events to specific escape sequences, right? Something like ^[OA^[OA^[OA^[OA^[OB^[OB^[OB^[OB^[OB for the scroll wheel? Must be easy to accomplish, low hanging fruit. Would be very much appreciated by vim users! |
I guess this explains why tmux' mouse mode doesn't work (?) |
This should be supported in the latest release |
@maertendMSFT the ssh client deployed to W10 2004 is still on version |
I just hit the same problem, wanted to use mc via ssh on another computer and mouse events did not work. |
I've installed the latest v8.1 from the releases, as well as rebooted however have found that the issue of mouse interop still does not work correctly. I found my way here from: microsoft/terminal#376 and am at a loss as to how to resolve mouse input for use inside of vim/htop/whatnot. |
The recently released w10 version 20H2 (Build 19042.804) is still affected by this bug. 8.1.0.0 was released in 2019, do you have any updates for us @maertendMSFT ? |
@Trolldemorted See #1693 for the update. |
Thanks, it's good to know that it was intended to be included in 20H2. |
When ssh to wsl on windows, the tmux in wsl can't get mouse event. |
Works for me after the last update. SSH into a linux allws me to use mouse as expected |
It doesn't work well on 8.6.0.0 when set mouse=on in vim |
Same with tmux' mouse mode. I lost track of all these issues, is there an open one for the problems in TUI programs? |
running 20H2 and it doesn't work. this is the 21st century microsoft... CMON! Linux has had this for decades |
It doesn't work when ssh to wsl on windows |
@andythedude What is your setup? Mouse events have been working for me for the last few updates, both via pwsh and wsl. I am running pwsh 7.1.5 and WT 1.11.2921.0 (latest stable from windows store) |
Thank you! It works after I upgrade win10 to win11.
I ssh to pwsh on Windows11 from the iTerm on MacOS, then I open wsl in pwsh.
…On Mon, Nov 1, 2021 at 10:08 PM Lukas Josai ***@***.***> wrote:
@andythedude <https://github.com/andythedude> What is your setup? Mouse
events have been working for me for the last few updates, both via pwsh and
wsl. I am running pwsh 7.1.5 and WT 1.11.2921.0 (latest stable from windows
store)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1158 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARQTNUZ2YJZ2753ZWATN2DUJ2NL7ANCNFSM4FAZBDPQ>
.
|
Doesnt work when you SSH into a server; it works only on the WSL instance. Still a PTA to use. |
@MANTENN It DOES work for me, both via WSL and directly |
Doesn't work with VIM |
I am using OpenSSH_for_Windows_9.2p1, LibreSSL 3.7.2 on Win10 22H2, and I have no mouse support. Is it there anything I have to do to enable it? |
I would also be very interested in a solution for this. I am on the latest win 10 64bit with Open SSH v9.5.0.0p1-Beta. I can't get any working mouse mode, when I'm sshing into my windows machine. Using wsl locally on the latest Terminal preview recognizes my mouse, but I need ssh support. Another interesting observation: |
i ended up going a different route and grabbing alacritty terminal as it is OS agnostic. |
Please answer the following
If it is a terminal issue then please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
7.6.1.0
Server OperatingSystem
some random linux box
Client OperatingSystem
"Windows 10 Pro"
What is failing
mouse events in vim on remote host
Expected output
I can click around and move the cursor in vim, or scroll events will be interpreted by tmux.
Actual output
Nothing seems to happen with any mouse input.
I'm not sure if this is a Console/PTY/openssh issue, apologies. I'm not sure if this is expected to work or not. I've tried fiddling with various settings in cmd.exe: with/without quickedit enabled, etc.
The text was updated successfully, but these errors were encountered: