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

Weird mousescroll issue with Kitty #1716

Closed
danillos opened this issue Sep 7, 2022 · 9 comments · Fixed by #2169
Closed

Weird mousescroll issue with Kitty #1716

danillos opened this issue Sep 7, 2022 · 9 comments · Fixed by #2169

Comments

@danillos
Copy link

danillos commented Sep 7, 2022

Basic information

zellij --version: zellij 0.31.3
stty size:38 176
uname -av: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64
kitty --version: kitty 0.26.2 created by Kovid Goyal

Further information

When doesn't have anything to scroll and I scroll it, it starts to add some texts:

66;18;29M66;18;29M66;18;29M67;18;29M67;18;29M66;18;29M66;18;29M66;18;29M67;18;29M67;18;29M66;18;29M66;18;29M66;18;29M67;18;29M67;18;29M67;18;29M66;18;29M67;18;29M66;18;29M
67;18;29M66;18;29M66;18;29M66;18;29M67;18;29M67;18;29M67;18;29M66;18;29M

I guess it happens scrolling to sides like left / right. Using Alacritty and Iterm2 it works.

@tlinford
Copy link
Contributor

tlinford commented Sep 9, 2022

Just to be clear, it works properly with alacritty or iterm2 + zellij?

@danillos
Copy link
Author

danillos commented Sep 9, 2022

Hi @tlinford,

Yes, it works:

zellij + alacritty = no issues
zellij + Iterm2 = no issues
zellij + Terminal = no issues
zellij + Kitty = has this issue
Just Kitty = no issues

And I confirmed it, it only happens doing side scrolling like on Macbook Trackpad and shift + mousewheel.

I was using Macbook Trackpad when I saw it. It is almost impossible to scroll using it because it constantly triggers side scrolling.

@nozwock
Copy link

nozwock commented Oct 14, 2022

Similar issue of these weird escape sequences on kitty when side scrolling.
No such issue with other terminals (or just kitty without zellij) as @danillos mentioned above.
unknown

@Noxime
Copy link

Noxime commented Nov 10, 2022

Same or similar issue occurs on Windows Terminal (the new one, not cmd). Zellij 0.32.0 is running through an SSH session in an Ubuntu 20 environment. I have not been able to consistently reproduce the issue through specific scrolling motion, however it happens often (every ~10 seconds) when scrolling through the history. This is on a regular Logitech mouse and no sideways scrolling.

@tlinford
Copy link
Contributor

Had another look at this, looks like termwiz does not support these horizontal scroll events yet.
I'll open an issue there, hopefully it won't be too hard to get this working!

@tlinford
Copy link
Contributor

Just a note, I initially thought I could not reproduce this, but apparently fish simply disregards these sequences and they were not showing up.

@Nouzan
Copy link

Nouzan commented Feb 5, 2023

This issue also occurs when using with the dev version of Alacritty since alacritty/alacritty#6625 being merged.

@tlinford
Copy link
Contributor

tlinford commented Feb 7, 2023

This issue also occurs when using with the dev version of Alacritty since alacritty/alacritty#6625 being merged.

Thanks for the info!
The fix we needed to solve this got merged in termwiz so we should be able to get this solved for the next release.

@nozwock
Copy link

nozwock commented Mar 12, 2023

Amazing! the biggest annoyance is gone now :⁠-⁠P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants