PhpSchool\CliMenu\Terminal\TerminalInterface::clean PHP Method

clean() public method

Clean the whole console without jumping the window
public clean ( ) : void
return void
    public function clean();

Usage Example

Example #1
0
 /**
  * @throws InvalidTerminalException
  */
 public function closeThis()
 {
     $this->terminal->clean();
     $this->terminal->moveCursorToTop();
     $this->open = false;
 }