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

Tmux ignores mouse scroll events/shits itself on selection events #329

Closed
wilrnh opened this issue Oct 27, 2016 · 8 comments
Closed

Tmux ignores mouse scroll events/shits itself on selection events #329

wilrnh opened this issue Oct 27, 2016 · 8 comments
Assignees
Labels
area/mouse-support type/bug Something is misbehaving
Milestone

Comments

@wilrnh
Copy link

wilrnh commented Oct 27, 2016

Details

  • Browser and browser version: Chrome 54
  • OS version: OSX 10.11.6
  • xterm.js version: demo @ 996c641

Steps to reproduce

  1. Start demo
  2. tmux attach
  3. Enable mouse mode in tmux set -g mouse on
  4. Scroll or select text in terminal window
@wilrnh
Copy link
Author

wilrnh commented Oct 27, 2016

microsoft/vscode#14627

@parisk parisk added the type/bug Something is misbehaving label Oct 28, 2016
@Tyriar
Copy link
Member

Tyriar commented Dec 29, 2016

Likely related to #426

@parisk
Copy link
Contributor

parisk commented Dec 31, 2016

Thanks for reporting this @wilrnh. Scrolling seems to be working fine for me.

I ran into a few issues though, which seem to be related to #434 (rendering issues).

Does anything happen at all when scrolling after running set -g mouse on in tmux?

@julianlam
Copy link

@parisk according to OP's repro steps, he is using set -g mouse on

@vviikk
Copy link

vviikk commented Apr 10, 2017

Working for me with set -g mouse on. It wasn't working without the line. I can also click to select and resize panes. Very, very happy.

Vim scrolling is also working flawlessly AFAICS. Can you paste your .tmux.conf file? Note: This was tried in vscode.

ezgif-1-850f80da0e

@Tyriar
Copy link
Member

Tyriar commented Jun 9, 2017

Fixed in #670

@Tyriar Tyriar closed this as completed Jun 9, 2017
@heamaral
Copy link

Not working on Windows 10 Pro (1809 - 17763.288). Already tried with ConPTY and WinPTY and mouse events are now working.
I've removed the Zoom Out keybinding (CTRL+-), tried to press it on terminal and it doesn't work too.

@Tyriar
Copy link
Member

Tyriar commented Jan 14, 2019

@heamaral this issue is on macOS, everything is very different on Windows. I've never even tried to use mouse events on Windows so not sure what the current state is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mouse-support type/bug Something is misbehaving
Projects
None yet
Development

No branches or pull requests

6 participants