diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-07-11 10:26:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-07-19 11:41:43 +0200 |
commit | 5a4e541779630c876c5fcc905a0a35bec052f3c8 (patch) | |
tree | 5104b3f9fc9dc7db89ba780f2a8df1a40650ef1e /src/basic/terminal-util.h | |
parent | terminal-util: remove reset_terminal() as it is unused (diff) | |
download | systemd-5a4e541779630c876c5fcc905a0a35bec052f3c8.tar.xz systemd-5a4e541779630c876c5fcc905a0a35bec052f3c8.zip |
terminal-util: rename reset_terminal_fd() → terminal_reset_ioctl()
Let's put "terminal_" as prefix, like with the other reset calls, and
let's make clear that this only encapsulates the ioctl-based reset
logic, not the ANSI sequence based reset logic.
Diffstat (limited to '')
-rw-r--r-- | src/basic/terminal-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h index 118672b340..46a91904c5 100644 --- a/src/basic/terminal-util.h +++ b/src/basic/terminal-util.h @@ -95,7 +95,7 @@ bool isatty_safe(int fd); -int reset_terminal_fd(int fd, bool switch_to_text); +int terminal_reset_ioctl(int fd, bool switch_to_text); int terminal_reset_ansi_seq(int fd); int terminal_reset_defensive(int fd, bool switch_to_text); |