ncurses_can_change_color

(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0)
Checks if terminal color definitions can be changed
bool ncurses_can_change_color ( void )

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.

Returns:

Return TRUE if the programmer can change color definitions, FALSE otherwise.

See also:

ncurses_has_colors() -

ncurses_init_color() -

ncurses_start_color() -

doc_php
2016-02-24 15:54:36
Comments
Leave a Comment

Please login to continue.