scrollback

Description

Scroll back through terminal output using Shift+{PageUp, PageDown}.

Download

Alternative implementation that uses a ring buffer for more efficient scrolling:

Apply the following patch on top of the previous to allow column and row reflow.

Apply the following patch on top of the previous to allow scrolling using Shift+MouseWheel.

Apply the following patch on top of the previous two to allow scrollback using mouse wheel only when not in MODE_ALTSCREEN. For example the content is being scrolled instead of the scrollback buffer in less. Consequently the Shift modifier for scrolling is not needed anymore. Note: patches before 20191024-a2c479c might break mkeys other than scrolling functions.

Apply the following patch on top of the first two to allow changing how fast the mouse scrolls.

Notes

Authors