mirror of
git://github.com/lxc/lxc
synced 2025-09-01 00:58:00 +00:00
Merge pull request #3892 from brauner/2021-07-01.fixes.2
terminal: ensure newlines are turned into newlines+carriage return fo…
This commit is contained in:
@@ -474,7 +474,7 @@ int lxc_setup_tios(int fd, struct termios *oldtios)
|
||||
#ifdef IEXTEN
|
||||
newtios.c_lflag &= ~IEXTEN;
|
||||
#endif
|
||||
newtios.c_oflag &= ~ONLCR;
|
||||
newtios.c_oflag |= ONLCR;
|
||||
newtios.c_oflag |= OPOST;
|
||||
newtios.c_cc[VMIN] = 1;
|
||||
newtios.c_cc[VTIME] = 0;
|
||||
|
Reference in New Issue
Block a user