Skip to main content

Module TerminalScrollViewportTag

Module TerminalScrollViewportTag 

Source

Constants§

BOTTOM
Scroll to the bottom (active area).
DELTA
Scroll by a delta amount (up is negative).
MAX_VALUE
Scroll to an absolute row offset from the top of the scrollable area. Row 0 is the top of the scrollback and the requested row becomes the first visible row of the viewport. The value is clamped so the viewport never scrolls beyond the top of the active area. If the terminal has no scrollback (e.g. the alternate screen is active), the viewport always remains on the active area.
ROW
Scroll to an absolute row offset from the top of the scrollable area. Row 0 is the top of the scrollback and the requested row becomes the first visible row of the viewport. The value is clamped so the viewport never scrolls beyond the top of the active area. If the terminal has no scrollback (e.g. the alternate screen is active), the viewport always remains on the active area.
TOP
Scroll to the top of the scrollback.

Type Aliases§

Type
Scroll viewport behavior tag.