summaryrefslogtreecommitdiffstats
path: root/src/shared/ptyfwd.h
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2024-06-17 11:41:56 +0200
committerMantas Mikulėnas <grawity@gmail.com>2024-06-25 09:39:15 +0200
commit27a2513013d3b3c6140de47e04b3042c5b4487e5 (patch)
tree3a536692273215774739c37f8f289ac4f9967e20 /src/shared/ptyfwd.h
parentMerge pull request #33407 from poettering/varlink-idl-comment-fix (diff)
downloadsystemd-27a2513013d3b3c6140de47e04b3042c5b4487e5.tar.xz
systemd-27a2513013d3b3c6140de47e04b3042c5b4487e5.zip
run: add environment variable to prevent the setting of terminal title
This goes together with the existing SYSTEMD_TINT_BACKGROUND. Closes https://github.com/systemd/systemd/issues/33301
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r--src/shared/ptyfwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index 248646d764..b86027e9bc 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -50,4 +50,6 @@ int pty_forward_set_titlef(PTYForward *f, const char *format, ...) _printf_(2,3)
int pty_forward_set_title_prefix(PTYForward *f, const char *prefix);
+bool shall_set_terminal_title(void);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);