Skip to content

Slower scroll in alternate screen mode

Bug report

Hey there, thanks so much for the nice terminal. :)

One thing that bothers me for quite some time now, is that scroll is slow when I'm in alternate screen mode (e.g. less, emacs, etc.) See the video attached below. I've tried playing with pretty much all advanced options related to scrolling, couldn't find something that helps.

FWIW, the scrolling factor ("Speed up scroll gestures by this factor") is definitely applied to both modes. But with a scroll factor of 2, the normal screen mode will "jump" 10 lines or so for each scroll step, when it only sends one key up / down in alternate mode. If I want to jump around 10 lines in alternate screen mode, I need a scroll factor somewhere between 4 and 5.

Detailed steps to reproduce the problem

  1. Scroll in the terminal. Observe the number of lines jumped per scroll step.
  2. Scroll in alternate screen mode (e.g. with less). Observe the number of lines jumped per scroll step.

What happened

Scroll is slower than in normal screen mode.

What should have happened

Scrolling speed should be the same in normal and alternate screen mode.