]> git.ipfire.org Git - thirdparty/systemd.git/commit
execute: also hook up ansi-seq-based terminal size determination with exec_context_de...
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Jul 2024 09:29:15 +0000 (11:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Jul 2024 09:44:04 +0000 (11:44 +0200)
commit3f2e8e951ace01b2f7da6ac45bd24e4c7a73eb91
tree04e1d28b12aeeb9ac64a191f8c2796468e81f2ee
parent967bcc6e267aee6c95d9a6603b1c0a2ba27e1d1b
execute: also hook up ansi-seq-based terminal size determination with exec_context_determine_size()

And while we are at it, merge exec_context_determine_tty_size() +
exec_context_apply_tty_size().

Let's simplify things, and merge the two funcs, since the latter just
does one more call.

At the same time, let's make sure we actually allow passing separate
input/output fds.
src/core/exec-invoke.c
src/core/execute.c
src/core/execute.h