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

moveCursorToTop() public method

Move the cursor to the top left of the window
public moveCursorToTop ( ) : void
return void
    public function moveCursorToTop();

Usage Example

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