]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: reset color after two tty reset sequences, too
authorLennart Poettering <lennart@poettering.net>
Thu, 18 Jul 2024 12:28:52 +0000 (14:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Jul 2024 13:41:33 +0000 (15:41 +0200)
commit46b89b83e39a6eaa3cbc452ae5e9d3dbe25c8736
tree6dc3121d322a3f4e78181e69254c65b9b0162f36
parentdbc66f87b326c252002fb438589c1f5ad86b7ba1
ptyfwd: reset color after two tty reset sequences, too

When we patch in a bg color we must make sure that when certain "reset"
sequences are transferred we fix up the bg color again.

Do so for \033[!p ("soft terminal reset") and \033c ("reset to initial
state" aka "full reset").
src/shared/ptyfwd.c