]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: save the last character before the escape sequence
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Dec 2024 02:10:47 +0000 (11:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Dec 2024 10:55:46 +0000 (19:55 +0900)
commitd517427dff319eb0735d24197e945dd99e4e44b1
tree45b90a88ad47e901e1a3e49fc030f8803ee8e317
parent5e6a48bf99d2adb3c9d22414197a593f2aa8a121
ptyfwd: save the last character before the escape sequence

If we write e.g. a line break and CSI sequence, then it is not necessary
to write another line break on exit.
src/shared/ptyfwd.c