Add a simple synchronize-panes window option: when set, all input to any pane

that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.
This commit is contained in:
Nicholas Marriott
2009-10-09 07:27:00 +00:00
parent d528184836
commit 3af09ac946
4 changed files with 21 additions and 2 deletions

1
tmux.c
View File

@ -441,6 +441,7 @@ main(int argc, char **argv)
options_set_number(wo, "window-status-fg", 8);
options_set_number(wo, "xterm-keys", 0);
options_set_number(wo, "remain-on-exit", 0);
options_set_number(wo, "synchronize-panes", 0);
if (flags & IDENTIFY_UTF8) {
options_set_number(so, "status-utf8", 1);