terminal: enable local output processing

Signed-off-by: Jonathan Calmels <jcalmels@nvidia.com>
This commit is contained in:
Jonathan Calmels 2018-06-08 16:56:25 -07:00
parent 9b7f09d1d6
commit 300ec7176b

View File

@ -509,7 +509,7 @@ int lxc_setup_tios(int fd, struct termios *oldtios)
#ifdef IEXTEN
newtios.c_lflag &= ~IEXTEN;
#endif
newtios.c_oflag &= ~OPOST;
newtios.c_oflag |= OPOST;
newtios.c_cc[VMIN] = 1;
newtios.c_cc[VTIME] = 0;