aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-11 10:19:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-12 13:07:40 +0000
commitd02124902b4e27c3ed3ef48442ce17c5e0af9d56 (patch)
tree517a07bdc4b2f26a2c3d30fcb1ee102c87622e7e /render.c
parentcsi: reduce duplication in code handling SGR 38 and 48 sequences (diff)
client: add -E,--client-environment
When this option is used, the child process in the new terminal instance will inherit its environment from the footclient process, instead of the foot server’s. Implemented by sending (yet another) dynamic string list as part of the client -> server setup packet. When the new option is *not* used, the setup packet is now 2 bytes larger than before. On the server side, the slave process now uses execvpe() instead of execvp(). There’s plumbing to propagate a new ‘envp’ argument from term_init() all the way down to slave_exec(). If ‘envp’ is NULL, we use ‘environ’ instead (thus matching the old behavior of execvp()). Closes #1004
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions