color_content

color_content(color) Class Public methods Returns an 3 item Array of the RGB values in color

clrtoeol

clrtoeol() Class Public methods Clears to the end of line, that the cursor is currently on.

closed?

closed?() Class Public methods Returns true if the window/screen has been closed, without any subsequent ::refresh calls, returns false otherwise.

close_screen

close_screen() Class Public methods A program should always call ::close_screen before exiting or escaping from curses mode temporarily. This routine restores tty modes, moves the cursor to the lower left-hand corner of the screen and resets the terminal into the proper non-visual mode. Calling ::refresh or ::doupdate after a temporary escape causes the program to resume visual mode.

clear

clear() Class Public methods Clears every position on the screen completely, so that a subsequent call by ::refresh for the screen/window will be repainted from scratch.

cbreak

cbreak() Class Public methods Put the terminal into cbreak mode. Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The ::cbreak routine disables line buffering and erase/kill character-processing (interrupt and flow control characters are unaffected), making characters typed by the user immediately available to the program. The ::nocbreak routine returns the terminal to normal (cooked) mode. Initially the terminal may or may not be in cb

can_change_color?

can_change_color?() Class Public methods Returns true or false depending on whether the terminal can change color attributes

bkgdset

bkgdset(ch) Class Public methods Manipulate the background of the named window with character Integer ch The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations. see also the system manual for curs_bkgd(3)

bkgd

bkgd(ch) Class Public methods Window background manipulation routines. Set the background property of the current and then apply the character Integer ch setting to every character position in that window. see also the system manual for curs_bkgd(3)

beep

beep() Class Public methods Sounds an audible alarm on the terminal, if possible; otherwise it flashes the screen (visual bell). see also ::flash