mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 23:36:09 +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:
commit
d31bfd247d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user