-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
clicking the left mouse button will cause neovim inside zellij to enter visual mode #1309
Comments
For me this behaves the same way as it does with vim open (with the |
It seems that zellij converts the mouse single-click event to a double-click event, because double-clicking without zellij will make nvim enter the v mode, which is consistent with the situation of single-clicking in zellij. |
as far as I can tell this changed between 0.26.1 and 0.27.0, I'm guessing the termwiz refactoring might have something to do with it. |
Debugged this a little, and what is happening now is that mouse button press events are getting repeated as well as mouse hold events. |
Ah, just saw this now. Could we maybe rig the repeater to only repeat mouse hold events then? |
Basic information
zellij --version
: zellij 0.27.0 (default config)tput lines
: 41tput cols
: 187uname -av
orver
(Windows):Linux wert 4.19.112-2.el8.x86_64 #1 SMP Web Jun 10 09:04:49 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
List of programs you interact with as,
PROGRAM --version
: output cropped meaningful, for example:nvim --version
: NVIM v0.7.0-dev+1400-g233014f92 (used the appimage release, withset mouse=a
)xfce4-terminal --version
: xfce4-terminal 0.8.8 (Xfce 4.14)Further information
Reproduction steps:
Noticeable behavior:
clicking the left mouse button will cause neovim inside zellij to enter visual mode.
The text was updated successfully, but these errors were encountered: