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

*actually* fix mouse handler before term attached #1927

Merged
merged 3 commits into from
Mar 4, 2019

Conversation

pfitzseb
Copy link
Contributor

@pfitzseb pfitzseb commented Feb 2, 2019

This is a follow-up for #1905, which I apparently didn't test properly -- turns out _terminal.selectionManager isn't initialized either until terminal.open() is called...

With this additional fix opening a tmux session in an un-opened terminal works.

It would probably be a good idea to test this somewhere, but I'm not sure where to put this kind of integration test.

@Tyriar Tyriar added this to the 3.12.0 milestone Feb 2, 2019
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pfitzseb
Copy link
Contributor Author

Argh, I messed this up again (got disable and enable the wrong way around)... Should be good to go now though.

@Tyriar Tyriar self-assigned this Mar 4, 2019
@Tyriar Tyriar merged commit 655c595 into xtermjs:master Mar 4, 2019
@pfitzseb pfitzseb deleted the sp/mousehandlerfix branch March 4, 2019 18:27
@pfitzseb
Copy link
Contributor Author

pfitzseb commented Mar 4, 2019

Thanks for the style fix (I should really try to remember to run a linter locally before pushing) and merge! :)

@Tyriar
Copy link
Member

Tyriar commented Mar 5, 2019

@pfitzseb np, CI made it easy for me to do 😃.

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

Successfully merging this pull request may close these issues.

2 participants