resizeterm

resizeterm(lines, cols) Class Public methods Resize the current term to Fixnum lines and Fixnum cols

scrl

scrl(num) Class 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.

setpos

setpos(y, x) Class Public methods A setter for the position of the cursor, using coordinates x and y

setscrreg

setscrreg(top, bottom) Class Public methods Set a software scrolling region in a window. top and bottom are lines numbers of the margin. If this option and Curses.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.

standend

standend() Class Public methods Enables the Normal display (no highlight) This is equivalent to ::attron see also Curses::Window#attrset for additional information.

standout

standout() Class Public methods Enables the best highlighting mode of the terminal. This is equivalent to Curses:Window.attron(A_STANDOUT) see also Curses::Window#attrset additional information

start_color

start_color() Class Public methods Initializes the color attributes, for terminals that support it. This must be called, in order to use color attributes. It is good practice to call it just after ::init_screen

stdscr

stdscr() Class Public methods The Standard Screen. Upon initializing curses, a default window called stdscr, which is the size of the terminal screen, is created. Many curses functions use this window.

timeout=

timeout=(delay) Class Public methods Sets block and non-blocking reads for the window. If delay is negative, blocking read is used (i.e., waits indefinitely for input). If delay is zero, then non-blocking read is used (i.e., read returns ERR if no input is waiting). If delay is positive, then read blocks for delay milliseconds, and returns ERR if there is still no input.

ungetch

ungetch(ch) Class Public methods Places ch back onto the input queue to be returned by the next call to ::getch. There is just one input queue for all windows.