diff --git a/src/Terminal.php b/src/Terminal.php index e7a18d7..a1b3486 100644 --- a/src/Terminal.php +++ b/src/Terminal.php @@ -132,7 +132,7 @@ public function isDisplayingScreen(string $screenClassName): bool public function removeAllListeners() { - $this->io->removeAllListeners(); + $this->io->getInput()->removeAllListeners(); return $this; }