ncurses_has_colors

(PHP 4 >= 4.1.0)

ncurses_has_colors -- Check if terminal has colors

Description

bool ncurses_has_colors ( void )

Varovanie

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, meno tejto funkcie a všetko ostatné, čo tu je zdokumentované sa v budúcnosti môže bez ohlásenia zmeniť. Majte to na pamäti a používajte túto funkciu iba na vlastné nebezpečentsvo.

ncurses_has_colors() returns TRUE or FALSE depending on whether the terminal has color capacities.

See also: ncurses_can_change_color()