Make synchronize-panes a pane option and add -U flag to set-option to

unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
This commit is contained in:
nicm
2020-12-15 08:31:50 +00:00
parent f6095cad99
commit 8bd29a30bf
5 changed files with 49 additions and 24 deletions

View File

@ -958,7 +958,7 @@ const struct options_table_entry options_table[] = {
{ .name = "synchronize-panes",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_WINDOW,
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
.default_num = 0,
.text = "Whether typing should be sent to all panes simultaneously."
},