2.6 clear screen function
==================
/** @ Brief clears all characters on the screen and moves the cursor to the screen's origin. @ note clear () automatically calls the clearok () function, which causes clear () the function can clear garbage that cannot be identified by curses on the physical screen @ see wclear () */int clear (); /** @ brief clears all characters on the screen @ note. It does not automatically call the clearok () function, so it is not the most thorough clearing method @ see werase () */int erase ();/** @ brief clear all content from the current cursor position to the bottom of the screen. @ note changes the current cursor position */int clrtoeol (); /** @ brief clear all characters from the current position on the screen to the end of the line. @ note changes the current cursor position */int clrtobot ();
This article is from the "dark day" blog, please be sure to keep this source http://darksun.blog.51cto.com/3874064/1286704