Add clearScreen to console
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -628,6 +628,15 @@ private $usleep = 0;
|
||||
}
|
||||
// }}}
|
||||
|
||||
/** Clear all the screen and remove the scroll of the screen
|
||||
*/
|
||||
public function clearScreen ()
|
||||
// {{{
|
||||
{
|
||||
echo "\033[2J\033[;H\033c";
|
||||
}
|
||||
// }}}
|
||||
|
||||
/** Call a specific function when a completion key is pressed
|
||||
* @param string|bool $completionKeys The list of the completion keys. False
|
||||
* unset the method
|
||||
|
||||
Reference in New Issue
Block a user