Skip to content

Commit 725f86c

Browse files
authored
Merge pull request #11 from php-school/AydinHassan-patch-1
Fix enabling canonical mode
2 parents 2a0e498 + 1cf4e55 commit 725f86c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UnixTerminal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function disableCanonicalMode() : void
137137
public function enableCanonicalMode() : void
138138
{
139139
if (!$this->isCanonical) {
140-
exec('stty canon');
140+
exec('stty icanon');
141141
$this->isCanonical = true;
142142
}
143143
}

0 commit comments

Comments
 (0)