klyn.gui.terminal.ScrollView.clampScrollOffsetFor
method
public clampScrollOffsetFor(totalLines as Long, viewHeight as Int, topInset as Int = 0, bottomInset as Int = 0) as Void
Description

Clamps the current scroll offset to the valid range.