Tput::Output::Scrolling
Inherits Tput::Macros / Crystallabs::Helpers::Alias_Methods
Instance methods
index
Moves the cursor one line down without changing column position, scrolling if needed.
ESC D Index (IND is 0x84).
Aliases: ind, scroll_forward
set_scroll_region(top : Int = 0, bottom : Int = (@screen.height - 1))
Set scroll region.
CSI Ps ; Ps r
Set Scrolling Region [top;bottom] (default = full size of win-
dow) (DECSTBM).
CSI ? Pm r
NOTE: This function uses absolute values, so negative numbers are not brought back to 0, but instead count from the bottom of the screen up.
NOTE: Similarly, there is no checking that the top value is
smaller than bottom.