]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: fix logic of OSC sequence termination 35640/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Dec 2024 07:25:00 +0000 (16:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Dec 2024 10:21:43 +0000 (19:21 +0900)
commita763364cc9183d72d7527ebf9ef853f99966bd5e
treec2c8c7980467e689f55c256151c9c6b45f238252
parent9bc2acad8f47e53c1bcd3e36760dce49fd499ded
ptyfwd: fix logic of OSC sequence termination

Previously, when an OSC sequence is terminated with \x1b\x5c, configured
OSC sequence would be inserted between the two characters, rather
than after the two.

Fixes a bug introduced by d848a9499830c530e804a41ffd8aa1bc942fa735.
Fixes #35631.
src/shared/ptyfwd.c