zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.42k stars 611 forks source link

Scroll down speed limit in Zed terminal #3354

Open theherk opened 1 month ago

theherk commented 1 month ago

Issue description

Scrolling forward with trackpad on MacOS only inside of Zed terminal is speed limited. Scrolling back is normal, and perfectly snappy; follows my input speed. But scrolling forward (back to the end), seems to have a max scroll speed, so it ends up feeling very sluggish.

Zed's terminal is, I believe, based on Alacritty. However, I have tested this with Zellij in both Alacritty and Wezterm directly, and there is no such issue. Only in the Zed terminal.

Minimal reproduction

  1. Install Zed.
  2. Open the terminal.
  3. Fire up Zellij.
  4. Output a big file with many lines of scrollback.
  5. Scroll back quickly, and observe fast scrolling.
  6. Scroll forward quickly, and observe slow scrolling.

Other relevant information

I noticed in v0.39, but after upgrading to 0.40.1 the issue is the same.

cristiand391 commented 1 month ago

I've never used zed but I would file try filling an issue in their repo to see if others experience the same:

https://github.com/zed-industries/zed/issues?q=is%3Aissue+is%3Aopen+label%3Aterminal+slow+scroll

theherk commented 1 month ago

Thanks @cristiand391. I added a comment to a similar sounding issue there, but if they confirm their issue is separate, I'll open a new bug. Meanwhile, worth noting I don't have this issue in Zed outside of zellij. I'm not sure that implies anything, but it at least muddies the water.