summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2024-04-10 07:36:25 +0000
committernicm <nicm>2024-04-10 07:36:25 +0000
commit553d4cba794b4f81dd42ba139f8dfb54fcd13c16 (patch)
tree0a3f3b1a5ed2b3122bf307b1862ac449d8fe603c /options-table.c
parentc62a9ca16b8fa199904c7628f0cb95c50593af6f (diff)
Add an option allow-set-title to forbid applications from changing the
pane title, from someone in GitHub issue 3930.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 8187ad08..fe460473 100644
--- a/options-table.c
+++ b/options-table.c
@@ -876,6 +876,14 @@ const struct options_table_entry options_table[] = {
"to rename windows."
},
+ { .name = "allow-set-title",
+ .type = OPTIONS_TABLE_FLAG,
+ .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
+ .default_num = 1,
+ .text = "Whether applications are allowed to use the escape sequence "
+ "to set the pane title."
+ },
+
{ .name = "alternate-screen",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,