]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: add support for additional out-of-band hotkeys in ptyfwd
authorLennart Poettering <lennart@poettering.net>
Sun, 2 Mar 2025 20:40:50 +0000 (21:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Mar 2025 22:02:31 +0000 (23:02 +0100)
commitb1f9d0e46bbb0f84b0c150af907e257e341baf73
treed6c70f5f76c84bdf8fb5b21509ef94858e829815
parentdecae96905dfe0619536214502333b62fb0583ba
ptyfwd: add support for additional out-of-band hotkeys in ptyfwd

Let's add the ability that ptyfwd tools can register additional hotkeys
that they then can handle.

So far the only hotkey we support is ^]^]^] to exit the ptyfwd session
abruptly. Staying close to this let's add ^]^]<char> for additional
commands.
src/shared/ptyfwd.c
src/shared/ptyfwd.h