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

Can't get mouse events to pass through #14

Open
dbkaplun opened this issue Jul 30, 2015 · 4 comments
Open

Can't get mouse events to pass through #14

dbkaplun opened this issue Jul 30, 2015 · 4 comments

Comments

@dbkaplun
Copy link

Maybe I'm doing something wrong? Just running ttystudio, then running my CLI app (slap) in the new shell. Seems like mouse events are just being ignored. iTerm2 2.1.1 on OSX 10.10.4.

@chjj
Copy link
Owner

chjj commented Jul 30, 2015

@dbkaplun, all mouse events, or just "all motion"/"mousemove events"? Tmux 2.0 (if you're using it) no longer supports "all motion" so I had to add a strange workaround for it, but I'm still not sure it works 100% of the time.

What happens when you go to the blessed directory and run: $ node example/multiplexer.js and then inside the multiplexer run $ node test/program-mouse.js? When you move your mouse or start clicking, do you see any output?

@chjj
Copy link
Owner

chjj commented Jul 30, 2015

Also, make sure you have the latest blessed (that includes the tmux 2.0 workaround if you're using it).

@dbkaplun
Copy link
Author

Nope, nothing. With just a bare shell inside ttystudio, I can't scroll the window at all, but without ttystudio I can scroll fine. (I don't expect the newly scrolled buffer to be picked up by ttystudio as this is handled by the terminal itself from what I understand but this may help debug the issue.)

@chjj
Copy link
Owner

chjj commented Aug 1, 2015

Alright, I'll have to play around with this on iTerm2 right quick.

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

2 participants