diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-06-27 00:22:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-06-27 00:22:22 +0000 |
commit | 26524c99f68959b5a0d1698529f332934061d424 (patch) | |
tree | 2004c96e4d9717882d291fd1bee4488f525c0dd7 /tmux.c | |
parent | 34464da8d3f762ccca3ebfdc418e93f4c02997f1 (diff) | |
download | rtmux-26524c99f68959b5a0d1698529f332934061d424.tar.gz rtmux-26524c99f68959b5a0d1698529f332934061d424.tar.bz2 rtmux-26524c99f68959b5a0d1698529f332934061d424.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -341,8 +341,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); |