diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-22 22:58:49 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-04-23 15:05:50 +0200 |
commit | 00bc83a275fa3ca8d90579fe9597d8b651d47332 (patch) | |
tree | a11f3a72b6184c29c96cb8fe2a932c0ea9a252ce /src/journal | |
parent | Merge pull request #32428 from poettering/sd-notify-reboot-param (diff) | |
download | systemd-00bc83a275fa3ca8d90579fe9597d8b651d47332.tar.xz systemd-00bc83a275fa3ca8d90579fe9597d8b651d47332.zip |
core: Limit terminal reset using ANSI sequences to /dev/console
Doing this in reset_terminal_fd() is a bit too invasive, see
https://github.com/systemd/systemd/pull/32406#issuecomment-2070923583.
Let's only do this for /dev/console so that we work around weird firmwares
disabling line-wrapping, but avoid messing too much with other things.
While we're at it, let's handle more than just line wrapping, and do a
more general reset of stuff to get the terminal into a sane state.
Diffstat (limited to 'src/journal')
0 files changed, 0 insertions, 0 deletions