mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
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:
2
format.c
2
format.c
@ -3085,7 +3085,7 @@ format_defaults_pane(struct format_tree *ft, struct window_pane *wp)
|
||||
format_add_cb(ft, "pane_in_mode", format_cb_pane_in_mode);
|
||||
|
||||
format_add(ft, "pane_synchronized", "%d",
|
||||
!!options_get_number(w->options, "synchronize-panes"));
|
||||
!!options_get_number(wp->options, "synchronize-panes"));
|
||||
if (wp->searchstr != NULL)
|
||||
format_add(ft, "pane_search_string", "%s", wp->searchstr);
|
||||
|
||||
|
Reference in New Issue
Block a user