enableCursor() public method

Enable cursor display
public enableCursor ( )
Beispiel #1
0
 /**
  * Revert changes made to the terminal
  *
  * @throws InvalidTerminalException
  */
 protected function tearDownTerminal()
 {
     if (!$this->terminal->isTTY()) {
         throw new InvalidTerminalException(sprintf('Terminal "%s" is not a valid TTY', $this->terminal->getDetails()));
     }
     $this->terminal->setCanonicalMode(false);
     $this->terminal->enableCursor();
 }
Beispiel #2
0
 /**
  * Revert changes made to the terminal
  *
  * @throws InvalidTerminalException
  */
 protected function tearDownTerminal()
 {
     $this->assertTerminalIsValidTTY();
     $this->terminal->setCanonicalMode(false);
     $this->terminal->enableCursor();
 }