Home > PHP > Function > Ncurses > ncurses_clrtoeol()

ncurses_clrtoeol()

ncurses_clrtoeol - Clear screen from current position to end of line

Syntax

bool ncurses_clrtoeol ()

Arguments

-

Description

Erases the current line from cursor position to the end. Blanks created by ncurses_clrtoeol() have the current background rendition.

Version

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

Return value

Returns TRUE on success or FALSE on failure.