aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-14 00:01:13 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-14 00:01:13 +0100
commita7ce19347a81282b82db1663eed5fd8dd00e927f (patch)
treeeabd001d0024db05e0555abe45964d6507286376
parent5d2288b22aeb7e00e7ef14805d40784a49073d7d (diff)
parent7a1a01feeff7b2ab17e2caef2d6b2180a8c1e70e (diff)
downloadrtmux-a7ce19347a81282b82db1663eed5fd8dd00e927f.tar.gz
rtmux-a7ce19347a81282b82db1663eed5fd8dd00e927f.tar.bz2
rtmux-a7ce19347a81282b82db1663eed5fd8dd00e927f.zip
Merge branch 'obsd-master'
-rw-r--r--options-table.c6
-rw-r--r--session.c3
-rw-r--r--tmux.113
3 files changed, 0 insertions, 22 deletions
diff --git a/options-table.c b/options-table.c
index bf5e2459..f74b1b10 100644
--- a/options-table.c
+++ b/options-table.c
@@ -319,12 +319,6 @@ const struct options_table_entry options_table[] = {
.default_num = 500
},
- { .name = "set-remain-on-exit",
- .type = OPTIONS_TABLE_FLAG,
- .scope = OPTIONS_TABLE_SESSION,
- .default_num = 0
- },
-
{ .name = "set-titles",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_SESSION,
diff --git a/session.c b/session.c
index da20bab1..4a93a5c5 100644
--- a/session.c
+++ b/session.c
@@ -358,9 +358,6 @@ session_new(struct session *s, const char *name, int argc, char **argv,
notify_window_linked(s, w);
environ_free(env);
- if (options_get_number(s->options, "set-remain-on-exit"))
- options_set_number(w->options, "remain-on-exit", 1);
-
session_group_synchronize_from(s);
return (wl);
}
diff --git a/tmux.1 b/tmux.1
index b109e079..2ad45dec 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2700,19 +2700,6 @@ flag to
Repeat is enabled for the default keys bound to the
.Ic resize-pane
command.
-.It Xo Ic set-remain-on-exit
-.Op Ic on | off
-.Xc
-Set the
-.Ic remain-on-exit
-window option for any windows first created in this session.
-When this option is true, windows in which the running program has
-exited do not close, instead remaining open but inactivate.
-Use the
-.Ic respawn-window
-command to reactivate such a window, or the
-.Ic kill-window
-command to destroy it.
.It Xo Ic set-titles
.Op Ic on | off
.Xc