PHP » GoLang |
login |
register |
about
|
GoLang ncurses_start_color
request it (382)
GoLang replacement for PHP's ncurses_start_color
[edit | history]
ncurses_start_color(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) ncurses_start_color — Initializes color functionality Description
int ncurses_start_color
( void
)
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(). ParametersThis function has no parameters. Return ValuesReturns 0 on success, or -1 if the color table could not be allocated or ncurses was not initialized. Examples
Example #1 Writing a string with a specified color to the screen
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|