ncurses_can_change_color()
ncurses_can_change_color - Checks if terminal color definitions can be changed
Syntax
bool ncurses_can_change_color ()
Arguments
-
Description
Checks whether the terminal has color capabilities and whether the programmer can change color definitions using ncurses_init_color(). ncurses must be initialized using ncurses_init() before calling this function.
Version
PHP 4.0.7, 5 < 5.3.0, PECL ncurses >= 1.0.0
Return value
Return TRUE if the programmer can change color definitions, FALSE otherwise.