ncurses_clrtoeol

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

ncurses_clrtoeolClear screen from current position to end of line

说明

ncurses_clrtoeol ( void ) : bool
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

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

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

相关文章
php ncurses 函数 add character at current position and advance cursorphp ncurses 函数 add attributed string with specified length at current positionphp ncurses 函数 add attributed string at current positionphp ncurses 函数 clear screenphp ncurses 函数 clear screen from current position to bottomphp ncurses 函数 clear screen from current position to end of linephp ncurses 函数 delete character at current position move rest of line leftphp ncurses 函数 delete line at current position move rest of screen upphp ncurses 函数 draw a horizontal line at current position using an attributed character and max. n characters longphp ncurses 函数 insert character moving rest of line including character at current positionphp ncurses 函数 insert string at current position moving rest of line rightphp ncurses 函数 returns current line kill characterphp ncurses 函数 set new position and draw a horizontal line using an attributed character and max. n characters longphp ncurses 函数 set new position and draw a vertical line using an attributed character and max. n characters longphp ncurses 函数 copies a region from a pad into the virtual screenphp ncurses 函数 inherit screen from file dumpphp ncurses 函数 scroll window content up or down without changing current positionphp ncurses 函数 draw a vertical line at current position using an attributed character and max. n characters longphp ncurses 函数 draws a horizontal line in a window at current position using an attributed character and max. n characters longphp ncurses 函数 draws a vertical line in a window at current position using an attributed character and max. n characters long
关注编程学问公众号