summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.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/tmux.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/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index afbff6277ed..dcb62ec01d9 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.46 2009/09/23 12:03:31 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.47 2009/10/09 07:27:00 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);