diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-27 09:11:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-29 17:42:31 +0000 |
| commit | a0ce7e40afb140be252c97b97667a5ba28b1593a (patch) | |
| tree | 825fdc61b4c89b1fd71b377ef0fd462f1262d176 /doc | |
| parent | Merge branch 'reflow-retain-scrollback-position' into master (diff) | |
input: trackpad scroll: correctly convert pixel movements to line movements
Trackpad scroll movements are in pixels. Foot previously “translated”
these directly to line movements (i.e. a one pixel scroll event was
translated into a one line scroll).
Now we use the line height of the terminal and correctly convert
pixels to lines.
This makes the trackpad scroll speed in foot consistent with the
scroll speed in e.g. Alacritty and Kitty.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
