ncurses_start_color()
ncurses_start_color - Initializes color functionality
Syntax
int ncurses_start_color ()
Arguments
-
Description
Initializes color functionality in ncurses. This function must be called before any color manipulation functions are called and after ncurses_init() is called. It is good practice to call this function right after ncurses_init().
Version
PHP 4.0.7, 5 < 5.3.0, PECL ncurses >= 1.0.0
Return value
Returns 0on success, or -1if the color table could not be allocated or ncurses was not initialized.