# linux: scrolling improvements \(\#9103\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d8e32c3e3cdcb48f64d23b08dc9d821663d09bd2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d8e32c3e3cdcb48f64d23b08dc9d821663d09bd2

Requested commit: d8e32c3e3cdcb48f64d23b08dc9d821663d09bd2

Commit: d8e32c3e3cdcb48f64d23b08dc9d821663d09bd2

Tree: 94087996cea7670f33d635aa5ef242ba4730b49f

Author: apricotbucket28

Committer: GitHub

## Message

```
linux: scrolling improvements (#9103)

This PR adjusts scrolling to be a lot faster on Linux and also makes
terminal scrolling work.

For Wayland, it makes scrolling faster by handling the `AxisValue120`
event (which also allows high-resolution scrolling on supported mice)
On X11, changed the 1 line per scroll to 3.

### Different solutions

I tried replicating Chromium's scrolling behaviour, but it was
inconsistent in X11/Wayland and found it too fast on Wayland. Plus, it
also didn't match VSCode, since it seems that they do something
different.

Release Notes:

- Made scrolling faster on Linux
- Made terminal scroll on Linux
```

## Parents

- [c0f8581b296e4f4f72bb4cf2d3a413d799a94095](https://git.cafe/gitcafe/zed/commit/c0f8581b296e4f4f72bb4cf2d3a413d799a94095?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d8e32c3e3cdcb48f64d23b08dc9d821663d09bd2?format=markdown)
