diff --git a/src/Termios.php b/src/Termios.php index bca7e69..ae9652e 100644 --- a/src/Termios.php +++ b/src/Termios.php @@ -60,7 +60,7 @@ class Termios { $termios = clone $instance->originalTermios; $termios->c_iflag &= ~(C::BRKINT | C::ICRNL | C::INPCK | C::ISTRIP | C::IXON); - $termios->c_oflag &= ~(C::OPOST); + $termios->c_oflag = 0; // &= ~(C::OPOST); $termios->c_cflag |= (C::CS8); $termios->c_lflag &= ~( C::ECHO | C::ICANON | C::IEXTEN | C::ISIG ); $termios->c_cc[C::VMIN] = 0;