Php/docs/function.ncurses-can-change-color

来自菜鸟教程
跳转至:导航、​搜索

ncurses_can_change_color

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

ncurses_can_change_colorChecks if terminal color definitions can be changed


说明

ncurses_can_change_color ( ) : bool

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.


参数

此函数没有参数。


返回值

Return true if the programmer can change color definitions, false otherwise.


参见