mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add an option allow-set-title to forbid applications from changing the
pane title, from someone in GitHub issue 3930.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user