summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-window-option.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-10-09 07:27:00 +0000
committernicm <nicm@openbsd.org>2009-10-09 07:27:00 +0000
commit9274c26a45140bcc69d103f7211b5f19e036a179 (patch)
tree7ce632477d539885c8920bcaa3de2a190de04071 /usr.bin/tmux/cmd-set-window-option.c
parentBe less aggressive about turning the cursor off, only explicitly turn it off (diff)
downloadwireguard-openbsd-9274c26a45140bcc69d103f7211b5f19e036a179.tar.xz
wireguard-openbsd-9274c26a45140bcc69d103f7211b5f19e036a179.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 'usr.bin/tmux/cmd-set-window-option.c')
-rw-r--r--usr.bin/tmux/cmd-set-window-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-window-option.c b/usr.bin/tmux/cmd-set-window-option.c
index 89f0c44f967..339c418d72b 100644
--- a/usr.bin/tmux/cmd-set-window-option.c
+++ b/usr.bin/tmux/cmd-set-window-option.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-window-option.c,v 1.12 2009/09/22 12:38:10 nicm Exp $ */
+/* $OpenBSD: cmd-set-window-option.c,v 1.13 2009/10/09 07:27:00 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 },