diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-10-09 07:27:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-10-09 07:27:01 +0000 |
commit | 0b2a125ee8d23e5bcdd2b4b7b51702be14a0c2ad (patch) | |
tree | 79895e19c91636d4daaedfd3bf6725d711c530a9 /usr.bin/tmux/tmux.c | |
parent | cc5b9f609b088167b79683782cd191ebc02c2d4b (diff) |
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.c | 3 |
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); |