aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-07-02 02:45:52 +0000
committerTiago Cunha <tcunha@gmx.com>2010-07-02 02:45:52 +0000
commitfa34c762752559480af4de1cb209bf2562ce23ff (patch)
tree8edc9fc42bfb03c0c9e2d6e2e08b7efb933f215a /tmux.c
parent985cd3a4ded7ec319a317bc4fbf5b120675feecb (diff)
downloadrtmux-fa34c762752559480af4de1cb209bf2562ce23ff.tar.gz
rtmux-fa34c762752559480af4de1cb209bf2562ce23ff.tar.bz2
rtmux-fa34c762752559480af4de1cb209bf2562ce23ff.zip
Sync OpenBSD patchset 729:
New option, detach-on-destroy, to set what happens to a client when the session it is attached to is destroyed. If on (the default), it is detached; if off, it is switched to the most recently active session.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 720ed94b..cf78eaf7 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.210 2010-07-02 02:43:01 tcunha Exp $ */
+/* $Id: tmux.c,v 1.211 2010-07-02 02:45:52 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -344,8 +344,9 @@ main(int argc, char **argv)
options_set_string(so, "default-command", "%s", "");
options_set_string(so, "default-shell", "%s", getshell());
options_set_string(so, "default-terminal", "screen");
- options_set_number(so, "display-panes-colour", 4);
+ options_set_number(so, "detach-on-destroy", 1);
options_set_number(so, "display-panes-active-colour", 1);
+ options_set_number(so, "display-panes-colour", 4);
options_set_number(so, "display-panes-time", 1000);
options_set_number(so, "display-time", 750);
options_set_number(so, "history-limit", 2000);