Set oflag to 0 so characters aren't echoed on linux
This commit is contained in:
parent
cec69cfb93
commit
7e3c7d074b
@ -60,7 +60,7 @@ class Termios {
|
|||||||
|
|
||||||
$termios = clone $instance->originalTermios;
|
$termios = clone $instance->originalTermios;
|
||||||
$termios->c_iflag &= ~(C::BRKINT | C::ICRNL | C::INPCK | C::ISTRIP | C::IXON);
|
$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_cflag |= (C::CS8);
|
||||||
$termios->c_lflag &= ~( C::ECHO | C::ICANON | C::IEXTEN | C::ISIG );
|
$termios->c_lflag &= ~( C::ECHO | C::ICANON | C::IEXTEN | C::ISIG );
|
||||||
$termios->c_cc[C::VMIN] = 0;
|
$termios->c_cc[C::VMIN] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user