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

ncurses_noechoSwitch off keyboard input echo


ncurses_noecho ( ) : bool

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Prevents echoing of user typed characters.

Return Values

Returns true if any error occurred, false otherwise.

See Also

add a note add a note

User Contributed Notes 1 note

kalenhall at me dot com
7 years ago
The ncurses_noecho() function basically disables user input from being echoed to your present cursor location.

Re-enable with the ncurses_echo() function. Echo is enabled by default in a new ncurses session.
To Top