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 reporting stops on window resize #560

Closed
wlcx opened this issue Oct 11, 2014 · 4 comments
Closed

Mouse reporting stops on window resize #560

wlcx opened this issue Oct 11, 2014 · 4 comments

Comments

@wlcx
Copy link

wlcx commented Oct 11, 2014

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.

@niieani
Copy link
Contributor

niieani commented Nov 27, 2014

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?

@eminence
Copy link
Member

Has anyone been able to reproduce this issue on something other than iTerm2?

@keithw
Copy link
Member

keithw commented Dec 16, 2014

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.)

@cgull
Copy link
Member

cgull commented Jun 4, 2015

I think this is resolved by #576, it tests out OK for me. See that issue for a possible explanation of what causes it.

@cgull cgull closed this as completed Jun 4, 2015
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

5 participants