From 26524c99f68959b5a0d1698529f332934061d424 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 27 Jun 2010 00:22:22 +0000 Subject: 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. --- cmd-set-option.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd-set-option.c') diff --git a/cmd-set-option.c b/cmd-set-option.c index 85776fbb..8caf42e2 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -87,6 +87,7 @@ const struct set_option_entry set_session_option_table[] = { { "default-path", SET_OPTION_STRING, 0, 0, NULL }, { "default-shell", SET_OPTION_STRING, 0, 0, NULL }, { "default-terminal", SET_OPTION_STRING, 0, 0, NULL }, + { "detach-on-destroy", SET_OPTION_FLAG, 0, 0, NULL }, { "display-panes-colour", SET_OPTION_COLOUR, 0, 0, NULL }, { "display-panes-active-colour", SET_OPTION_COLOUR, 0, 0, NULL }, { "display-panes-time", SET_OPTION_NUMBER, 1, INT_MAX, NULL }, -- cgit