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

No mouse support in neovim #579

Closed
PhML opened this issue Jun 17, 2021 · 3 comments · Fixed by #1191
Closed

No mouse support in neovim #579

PhML opened this issue Jun 17, 2021 · 3 comments · Fixed by #1191
Labels
mouse Issues related to mouse events

Comments

@PhML
Copy link

PhML commented Jun 17, 2021

Basic information

zellij --version: 0.13.0
tput lines: 68
tput cols: 256
uname -av or ver(Windows): Linux PO19258LX 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

List of programs you interact with:
nvim --version: neovim-0.5.0+ubuntu2+git202106170012-c78816eb6-d569569c9
alacritty --version: alacritty 0.8.0

Further information

When I edit a file with neovim in Zellij the mouse is not captured by neovim (visual selection etc).

I don’t know if it should be reported in #448

@imsnif
Copy link
Member

imsnif commented Jun 17, 2021

@PhML - thanks for reporting this... could you provide some more info about how to reproduce this? Is this a specific plugin or version, or? Because when I try to reproduce this with my local neovim and try to mark things with the mouse outside Zellij, it marks them normally through the terminal emulator... am I missing something or doing something differently?

@a-kenji
Copy link
Contributor

a-kenji commented Jun 18, 2021

I have similar issues (I think), but I assume that will be resolved once the mouse support is finished. The terminal emulator gets the mouse selection, but neovim itself doesn't seem to get all the events.

@dantepippi
Copy link
Contributor

dantepippi commented Jul 10, 2021

@PhML - thanks for reporting this... could you provide some more info about how to reproduce this? Is this a specific plugin or version, or? Because when I try to reproduce this with my local neovim and try to mark things with the mouse outside Zellij, it marks them normally through the terminal emulator... am I missing something or doing something differently?

I can select text on Neovim but can't click to go to a certain position or scroll when there's some floating window with long text.

I'm guessing Zellij is just treating the text selection as on any terminal but is not passing mouse events to the underlying application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mouse Issues related to mouse events
Projects
None yet
4 participants