PHP » GoLang |
login |
register |
about
|
GoLang ncurses_has_colors
request it (401)
GoLang replacement for PHP's ncurses_has_colors
[edit | history]
ncurses_has_colors(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) ncurses_has_colors — Checks if terminal has color capabilities Description
bool ncurses_has_colors
( void
)
Checks whether the terminal has color capabilities. This function can be used to write terminal-independent programs. ncurses must be initialized using ncurses_init() before calling this function. ParametersThis function has no parameters. Return Values
Return Examples
Example #1 Writing a string with a specified color to the screen
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|