ansikit.page¶
Page-manipulating functions and escape sequences.
eraseFromCursor¶
Signature → nil
Alias → clearFromCursor
Clears everything from the cursor position.
eraseToCursor¶
Signature → nil
Alias → clearToCursor
Clears everything until the cursor position.
eraseScreen¶
Signature → nil
Alias → clearScreen
Clears everything currently displayed.
eraseFullScreen¶
Signature → nil
Alias → clearFullScreen
, eraseAll
, clearAll
Clears everything currently displayed and in the scrollback buffer.
erase¶
Signature → (string) -> nil
Alias → clear
Takes a direction between screen
, all
, fromcursor
and tocursor
and erases it.
scrollUp¶
Signature → ([number]) -> nil
Scrolls up page by n
lines. n
defaults to 1.
scrollDown¶
Signature → ([number]) -> nil
Scrolls down page by n
lines. n
defaults to 1.
scroll¶
Signature → (string, [number]) -> nil
Scrolls page in direction up
or down
by n
lines. n
defaults to 1.