subwin

subwin(height, width, top, left) Instance Public methods Contruct a new subwindow with constraints of height lines, width columns, begin at top line, and begin left most column.

standout

standout() Instance Public methods Enables the best highlighting mode of the terminal. This is equivalent to #attron see also #attrset

standend

standend() Instance Public methods Enables the Normal display (no highlight) This is equivalent to #attron see also #attrset

setscrreg

setscrreg(top, bottom) Instance Public methods Set a software scrolling region in a window. top and bottom are lines numbers of the margin. If this option and #scrollok are enabled, an attempt to move off the bottom margin line causes all lines in the scrolling region to scroll one line in the direction of the first line. Only the text of the window is scrolled.

setpos

setpos(y, x) Instance Public methods A setter for the position of the cursor in the current window, using coordinates x and y

scrollok

scrollok(bool) Instance Public methods Controls what happens when the cursor of a window is moved off the edge of the window or scrolling region, either as a result of a newline action on the bottom line, or typing the last character of the last line. If disabled, (bool is false), the cursor is left on the bottom line. If enabled, (bool is true), the window is scrolled up one line (Note that to get the physical scrolling effect on the terminal, it is also necessary to call #idlok)

scroll

scroll() Instance Public methods Scrolls the current window up one line.

scrl

scrl(num) Instance Public methods Scrolls the current window Fixnum num lines. The current cursor position is not changed. For positive num, it scrolls up. For negative num, it scrolls down.

resize

resize(lines, cols) Instance Public methods Resize the current window to Fixnum lines and Fixnum cols

refresh

refresh() Instance Public methods Refreshes the windows and lines.