Ncurses Функции
PHP Manual

ncurses_can_change_color

(PHP 4 >= 4.0.7, PHP 5, PECL ncurses:1.0.0)

ncurses_can_change_colorCheck if we can change terminals colors

Описание

bool ncurses_can_change_color ( void )
Внимание

Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

Tells whether the terminal has color capabilities and whether the programmer can change the colors.

Возвращаемые значения

Return TRUE if the terminal has color capabilities and you can change the colors, FALSE otherwise.


Ncurses Функции
PHP Manual