ncurses_instr()
ncurses_instr - Reads string from terminal screen
Syntax
int ncurses_instr (
string &$buffer)
Arguments
- buffer - The characters. Attributes will be stripped.
Description
Reads a string from the terminal screen and returns the number of characters read from the current character position until end of line.
Version
PHP 4.2.0, 5 < 5.3.0, PECL ncurses >= 1.0.0
Return value
Returns the number of characters.