aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-window-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-09 07:27:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-09 07:27:00 +0000
commit3af09ac94697097d5a8cd45b82638ed9c3e941cc (patch)
treee1206462446deac33cf7611c288504b5abee73a9 /cmd-set-window-option.c
parentd5281848361ede97d871553b011a706457acabd0 (diff)
downloadrtmux-3af09ac94697097d5a8cd45b82638ed9c3e941cc.tar.gz
rtmux-3af09ac94697097d5a8cd45b82638ed9c3e941cc.tar.bz2
rtmux-3af09ac94697097d5a8cd45b82638ed9c3e941cc.zip
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.
Diffstat (limited to 'cmd-set-window-option.c')
-rw-r--r--cmd-set-window-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c
index 76d00e19..1ac62147 100644
--- a/cmd-set-window-option.c
+++ b/cmd-set-window-option.c
@@ -64,6 +64,7 @@ const struct set_option_entry set_window_option_table[] = {
{ "monitor-activity", SET_OPTION_FLAG, 0, 0, NULL },
{ "monitor-content", SET_OPTION_STRING, 0, 0, NULL },
{ "remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL },
+ { "synchronize-panes", SET_OPTION_FLAG, 0, 0, NULL },
{ "utf8", SET_OPTION_FLAG, 0, 0, NULL },
{ "window-status-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
{ "window-status-bg", SET_OPTION_COLOUR, 0, 0, NULL },