init_screen

init_screen() Class Public methods Initialize a standard screen see also ::stdscr

init_pair

init_pair(pair, f, b) Class Public methods Changes the definition of a color-pair. It takes three arguments: the number of the color-pair to be changed pair, the foreground color number f, and the background color number b. If the color-pair was previously initialized, the screen is refreshed and all occurrences of that color-pair are changed to the new definition.

init_color

init_color(color, r, g, b) Class Public methods Changes the definition of a color. It takes four arguments: the number of the color to be changed, color the amount of red, r the amount of green, g the amount of blue, b The value of the first argument must be between 0 and COLORS. (See the section Colors for the default color index.) Each of the last three arguments must be a value between 0 and 1000. When ::init_color is used, all occurrences of that color on the scree

inch

inch() Class Public methods Returns the character at the current position.

has_colors?

has_colors?() Class Public methods Returns true or false depending on whether the terminal has color capbilities.

getstr

getstr() Class Public methods This is equivalent to a series f Curses::Window#getch calls

getmouse

getmouse() Class Public methods Returns coordinates of the mouse. This will read and pop the mouse event data off the queue See the BUTTON*, ALL_MOUSE_EVENTS and REPORT_MOUSE_POSITION constants, to examine the mask of the event

getch

getch() Class Public methods Read and returns a character from the window. See Curses::Key to all the function KEY_* available

flash

flash() Class Public methods Flashs the screen, for visual alarm on the terminal, if possible; otherwise it sounds the alert. see also ::beep

echo

echo() Class Public methods Enables characters typed by the user to be echoed by ::getch as they are typed.