public function pause() { $this->loop->removeReadStream($this->stream); }
public function pause() { if ($this->oldMode !== null) { // Reset stty so it behaves normally again shell_exec(sprintf('stty %s', $this->oldMode)); $this->oldMode = null; parent::pause(); } }