attron

attron(attrs) Class Public methods Turns off the named attributes attrs without turning any other attributes on or off. See also Curses::Window#attrset for additional information.

attrset

attrset(attrs) Class Public methods Sets the current attributes of the given window to attrs. see also Curses::Window#attrset

beep

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

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)

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)

can_change_color?

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

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

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.

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.

closed?

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