Skip to content

Commit

Permalink
Merge pull request #11 from php-school/AydinHassan-patch-1
Browse files Browse the repository at this point in the history
Fix enabling canonical mode
  • Loading branch information
AydinHassan committed Dec 17, 2019
2 parents 2a0e498 + 1cf4e55 commit 725f86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UnixTerminal.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function disableCanonicalMode() : void
public function enableCanonicalMode() : void
{
if (!$this->isCanonical) {
exec('stty canon');
exec('stty icanon');
$this->isCanonical = true;
}
}
Expand Down

0 comments on commit 725f86c

Please sign in to comment.