diff --git a/src/system/libroot/posix/termios.c b/src/system/libroot/posix/termios.c index 5f559bedc9..818157975a 100644 --- a/src/system/libroot/posix/termios.c +++ b/src/system/libroot/posix/termios.c @@ -166,6 +166,8 @@ cfmakeraw(struct termios *termios) termios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); termios->c_cflag &= ~(CSIZE | PARENB); termios->c_cflag |= CS8; + termios->c_cc[VMIN] = 1; // input is available character by character + termios->c_cc[VTIME] = 0; }