]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: when we can't copy the window size from caller, use $LINES and $COLUMNS
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Jul 2018 18:57:22 +0000 (20:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 08:28:42 +0000 (10:28 +0200)
commitda22bdbc05c0014a0ceb6a14352c30fc2ae277c3
tree469350098f83979ddf0f3d893c69e6db3cd616ba
parentc6885f5f36ec299d2ebd5d49d03b2cee37cf8e88
ptyfwd: when we can't copy the window size from caller, use $LINES and $COLUMNS

This way users can directly influence the tty size if they like when
nspawn is invoked as a service and thus stdin/stdout/stderr are not
connected to a TTY.
src/shared/ptyfwd.c