Home > PHP > Function > Ncurses > ncurses_nocbreak()

ncurses_nocbreak()

ncurses_nocbreak - Switch terminal to cooked mode

Syntax

bool ncurses_nocbreak ()

Arguments

-

Description

Returns terminal to normal (cooked) mode. Initially the terminal may or may not in cbreak mode as the mode is inherited. Therefore a program should call ncurses_cbreak() and ncurses_nocbreak() explicitly.

Version

PHP 4.0.7, 5 < 5.3.0, PECL ncurses >= 1.0.0

Return value

Returns TRUE if any error occurred, otherwise FALSE.