PHP » GoLang |
login |
register |
about
|
GoLang ncurses_init_color
request it (424)
GoLang replacement for PHP's ncurses_init_color
[edit | history]
ncurses_init_color(PHP 4 >= 4.2.0, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) ncurses_init_color — Define a terminal color Description
int ncurses_init_color
( int
$color
, int $r
, int $g
, int $b
)Defines or redefines the given color. When this function is called, all occurrences of the given color on the screen, if any, immediately change to the new definition. Color capabilities must be supported by the terminal and initialized using ncurses_start_color() prior to calling this function. In addition, the terminal must have color changing capabilities; use ncurses_can_change_color() to check for this. Parameters
Return ValuesReturns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized or the terminal does not have color changing capabilities. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|