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 reporting stops on window resize #560
Comments
It is interesting, since it's specific to iTerm2. Resizing the window doesn't cause this when using Mosh on PuTTY via cygwin wrapper without any problems. Can you try another terminal? |
Has anyone been able to reproduce this issue on something other than iTerm2? |
Yes, I can reproduce the issue with basic xterm. The problem is that our mouse support is still not right. In an xterm, if you turn ON mode 1000, you will get basic mouse mode. If you then turn OFF mode 1002, it turns off the mouse mode. So the current code that treats these as independent is just not right. (And that's why our "initialization" setup logic in terminaldisplay.cc does not work properly -- it treats these modes as settable independently.) |
I think this is resolved by #576, it tests out OK for me. See that issue for a possible explanation of what causes it. |
With a mosh session in iTerm2 on OSX and tmux, mouse reporting works and the cursor is displayed with a circle on the bar. Resizing the window in any direction stops mouse reporting from working, with the cursor changing to a non-circled state. Using ssh, mouse reporting stays active on window resize.
The text was updated successfully, but these errors were encountered: