Skip to content

Commit

Permalink
Remove event listeners from input class (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
bencarrr authored and freekmurze committed Aug 23, 2017
1 parent 5692830 commit 06292ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Terminal.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function isDisplayingScreen(string $screenClassName): bool

public function removeAllListeners()
{
$this->io->removeAllListeners();
$this->io->getInput()->removeAllListeners();

return $this;
}
Expand Down

0 comments on commit 06292ac

Please sign in to comment.